@@ -137,7 +137,8 @@ namespace llvm {
137137 ApproxFuncFPMath(false ), EnableAIXExtendedAltivecABI(false ),
138138 HonorSignDependentRoundingFPMathOption(false ), NoZerosInBSS(false ),
139139 GuaranteedTailCallOpt(false ), StackSymbolOrdering(true ),
140- EnableFastISel(false ), EnableGlobalISel(false ), UseInitArray(false ),
140+ EnableSinkAndFold(false ), EnableFastISel(false ),
141+ EnableGlobalISel(false ), UseInitArray(false ),
141142 DisableIntegratedAS(false ), FunctionSections(false ),
142143 DataSections(false ), IgnoreXCOFFVisibility(false ),
143144 XCOFFTracebackTable(true ), UniqueSectionNames(true ),
@@ -239,6 +240,11 @@ namespace llvm {
239240 // / they were generated. Default is true.
240241 unsigned StackSymbolOrdering : 1 ;
241242
243+ // / EnableSinkAndFold - Enable sinking of instructions in MachineSink where
244+ // / a computation can be folded into the addressing mode of a memory
245+ // / load/store instruction or replace a copy.
246+ unsigned EnableSinkAndFold : 1 ;
247+
242248 // / EnableFastISel - This flag enables fast-path instruction selection
243249 // / which trades away generated code quality in favor of reducing
244250 // / compile time.
0 commit comments