Skip to content

Commit 47c1f6e

Browse files
esukhovigcbot
authored andcommitted
Stub Vectorization for WAVEALL, CMP, SELECT enabled
Stub Vectorization for WAVEALL, CMP, SELECT enabled by default. Dependency check window enlarged to 6 x number elements inside slice.
1 parent 4f0123a commit 47c1f6e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

IGC/common/igc_flags.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ DECLARE_IGC_REGKEY(bool, EnableScalarTypedAtomics, true, "Enable the Scalar Type
959959
DECLARE_IGC_REGKEY(bool, EnableScalarPhisMerger, true,
960960
"enable optimization that merges scalar phi nodes into vector ones", true)
961961
DECLARE_IGC_REGKEY(bool, EnableVectorizer, true, "Enable IGCVectorizer pass", true)
962-
DECLARE_IGC_REGKEY(DWORD, VectorizerDepWindowMultiplier, 2,
962+
DECLARE_IGC_REGKEY(DWORD, VectorizerDepWindowMultiplier, 6,
963963
"Multiplier for the slice size to account for vectorizer dependency check window", true)
964964
DECLARE_IGC_REGKEY(bool, VectorizerCheckScalarizer, false, "Add scalariser after vectorizer to check performance", true)
965965
DECLARE_IGC_REGKEY(DWORD, VectorizerList, -1, "Vectorize only one seed instruction with the provided number", true)
@@ -971,9 +971,9 @@ DECLARE_IGC_REGKEY(bool, VectorizerAllowFADD, true, "Allow FADD instructions ins
971971
DECLARE_IGC_REGKEY(bool, VectorizerAllowFSUB, true, "Allow FSUB instructions inside vectorizer", true)
972972
DECLARE_IGC_REGKEY(bool, VectorizerAllowEXP2, true, "Allow EXP2 instructions inside vectorizer", true)
973973
DECLARE_IGC_REGKEY(bool, VectorizerAllowMAXNUM, true, "Allow MAXNUM instructions inside vectorizer", true)
974-
DECLARE_IGC_REGKEY(bool, VectorizerAllowWAVEALL, false, "Allow WAVEALL instructions inside vectorizer", true)
975-
DECLARE_IGC_REGKEY(bool, VectorizerAllowCMP, false, "Allow CMP instructions inside vectorizer", true)
976-
DECLARE_IGC_REGKEY(bool, VectorizerAllowSelect, false, "Allow Select instructions inside vectorizer", true)
974+
DECLARE_IGC_REGKEY(bool, VectorizerAllowWAVEALL, true, "Allow WAVEALL instructions inside vectorizer", true)
975+
DECLARE_IGC_REGKEY(bool, VectorizerAllowCMP, true, "Allow CMP instructions inside vectorizer", true)
976+
DECLARE_IGC_REGKEY(bool, VectorizerAllowSelect, true, "Allow Select instructions inside vectorizer", true)
977977
DECLARE_IGC_REGKEY(bool, VectorizerAllowFMADMatching, true,
978978
"Allow FADD and FMUL instructions to be matched later in the pattern match pass", true)
979979
DECLARE_IGC_REGKEY(bool, VectorizerUniformValueVectorizationEnabled, true,

0 commit comments

Comments
 (0)