You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit introduces new functionality and control flags for
CloneAddressArithmetic pass and adds a uniformity check for
rematerialization (disabled by default).
(cherry picked from commit 4707787)
Copy file name to clipboardExpand all lines: IGC/common/igc_flags.h
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -737,9 +737,14 @@ DECLARE_IGC_REGKEY(DWORD, RematBlockSize, 10, "Represents a threshold for a b
737
737
DECLARE_IGC_REGKEY(DWORD, RematUsesThreshold, 5, "Amount of uses after which operand is not rematerialized", false)
738
738
DECLARE_IGC_REGKEY(DWORD, RematChainLimit, 10, "If number of instructions we've collected is more than this value, we bail on it", false)
739
739
DECLARE_IGC_REGKEY(DWORD, RematRPELimit, 100, "Cutoff value for register estimator, lower than that, kernel won't be rematted", false)
740
+
DECLARE_IGC_REGKEY(bool, RematEnable, false, "Enable clone adress arithmetic pass not only on retry", false)
741
+
DECLARE_IGC_REGKEY(bool, RematMoveAddrSpaceCast, false, "Enable clone adress arithmetic pass not only on retry", false)
740
742
DECLARE_IGC_REGKEY(bool, RematSameBBScope, true, "Confine rematerialization only to variables within the same BB, we won't pull down values from predeccors", false)
741
-
DECLARE_IGC_REGKEY(bool, EnableRemat, false, "Enable clone adress arithmetic pass not only on retry", false)
743
+
DECLARE_IGC_REGKEY(bool, RematRespectUniformity, false, "Cutoff computation chain on uniform values", false)
744
+
DECLARE_IGC_REGKEY(bool, RematAllowExtractElement, false, "Allow Extract Element to computation chain", false)
742
745
DECLARE_IGC_REGKEY(bool, RematReassocBefore, false, "Enable short sequence of passes before clone address arithmetic pass to potentially decrese amount of operations that will be rematerialized", false)
746
+
DECLARE_IGC_REGKEY(bool, RematInstCombineBefore, false, "Enable short sequence of passes before clone address arithmetic pass to potentially decrese amount of operations that will be rematerialized", false)
747
+
DECLARE_IGC_REGKEY(bool, RematAddrSpaceCastToUse, false, "Allow rematerialization of inttoptr that are used inside AddrSpaceCastInst", false)
743
748
DECLARE_IGC_REGKEY(bool, DumpRegPressureEstimate, false, "Dump RegPressureEstimate to a file", false)
744
749
DECLARE_IGC_REGKEY(debugString, DumpRegPressureEstimateFilter, 0, "Only dump RegPressureEstimate for functions matching the given regex", false)
0 commit comments