From 7ad3ca8e0243cd01ae9f8d099e056ad906586d59 Mon Sep 17 00:00:00 2001 From: "Gu, Junjie" Date: Wed, 13 Sep 2023 17:04:13 +0000 Subject: [PATCH] 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. --- IGC/common/igc_flags.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IGC/common/igc_flags.h b/IGC/common/igc_flags.h index 5502385c7f2f..58a2983eddff 100644 --- a/IGC/common/igc_flags.h +++ b/IGC/common/igc_flags.h @@ -419,7 +419,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, "[LdStCombine] the max non-uniform vector size for the coalesced store. 0: compiler choice (default, 16(4DW)); others: 8/16/32", true) 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) DECLARE_IGC_REGKEY(DWORD,MaxLiveOutThreshold, 0, "Max LiveOut Threshold in MemOpt2", false)