Skip to content

Commit b533cc9

Browse files
jgu222igcbot
authored andcommitted
Turn on LdStCombine
Turn LdStCombine on (for store only for now), which is on only for OCL path. For now, limit platforms that have LSC msg; will enable legacy message later.
1 parent e51af7b commit b533cc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IGC/common/igc_flags.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ DECLARE_IGC_REGKEY(bool, DisableGPGPUIndirectPayload, false, "Disable OCL indi
408408
DECLARE_IGC_REGKEY(bool, DisableDSDualPatch, false, "Setting it to true with enable Single and Dual Patch dispatch mode for Domain Shader", false)
409409
DECLARE_IGC_REGKEY(bool, DisableMemOpt, false, "Disable MemOpt, merging load/store", false)
410410
DECLARE_IGC_REGKEY(bool, DisableMemOpt2, false, "Disable MemOpt2", false)
411-
DECLARE_IGC_REGKEY(DWORD, EnableLdStCombine, 0, "Enable load/store combine pass if set to 1 or 2 (intend to replace memopt)", true)
411+
DECLARE_IGC_REGKEY(DWORD, EnableLdStCombine, 1, "Enable load/store combine pass if set to 1 or 2 (intend to replace memopt)", true)
412412
DECLARE_IGC_REGKEY(DWORD, MaxStoreVectorSizeInBytes, 0, "[LdStCombine] the max non-uniform vector size for the coalesced store. 0: compiler choice (default, 16(4DW)); others: 8/16/32", true)
413413
DECLARE_IGC_REGKEY(DWORD, MaxLoadVectorSizeInBytes, 0, "[LdStCombine] the max non-uniform vector size for the coalesced load. 0: compiler choice (default, 16(4DW)); others: 8/16/32", true)
414414
DECLARE_IGC_REGKEY(DWORD,MaxLiveOutThreshold, 0, "Max LiveOut Threshold in MemOpt2", false)

0 commit comments

Comments
 (0)