Skip to content

Commit

Permalink
Turn on LdStCombine
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jgu222 authored and igcbot committed Jun 21, 2023
1 parent 25ac1aa commit f76ebf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IGC/common/igc_flags.h
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ DECLARE_IGC_REGKEY(bool, DisableGPGPUIndirectPayload, false, "Disable OCL indi
DECLARE_IGC_REGKEY(bool, DisableDSDualPatch, false, "Setting it to true with enable Single and Dual Patch dispatch mode for Domain Shader", false)
DECLARE_IGC_REGKEY(bool, DisableMemOpt, false, "Disable MemOpt, merging load/store", false)
DECLARE_IGC_REGKEY(bool, DisableMemOpt2, false, "Disable MemOpt2", false)
DECLARE_IGC_REGKEY(DWORD, EnableLdStCombine, 0, "Enable load/store combine pass if set to 1 or 2 (intend to replace memopt)", true)
DECLARE_IGC_REGKEY(DWORD, EnableLdStCombine, 1, "Enable load/store combine pass if set to 1 or 2 (intend to replace memopt)", true)
DECLARE_IGC_REGKEY(DWORD, MaxStoreVectorSizeInBytes, 0, "Used in LdStCombine as the max non-uniform vector size for the coalesced store. 0: compiler choice (default, 16(4DW)). Max is 32(8DW)", true)
DECLARE_IGC_REGKEY(bool, DisablePreRAScheduler, false, "Disable Pre RA Scheduling", false)
DECLARE_IGC_REGKEY(DWORD,MaxLiveOutThreshold, 0, "Max LiveOut Threshold in MemOpt2", false)
Expand Down

0 comments on commit f76ebf6

Please sign in to comment.