DirectXShaderCompiler/test/Transforms
Zhengxing li 6f9c107b78
Reassociate: add global reassociation algorithm (#6598)
This PR pulls the upstream change, Reassociate: add global reassociation
algorithm
(b8a330c42a),
into DXC with miminal changes.

For the code below:
  foo = (a * b) * c
  bar = (a * d) * c

As the upstream change states, it can identify the a*c is a common
factor and redundant.

This is part 1 of the fix for #6593.
2024-05-21 11:55:40 -07:00
..
ADCE first commit 2016-12-28 11:52:27 -08:00
AddDiscriminators first commit 2016-12-28 11:52:27 -08:00
AlignmentFromAssumptions first commit 2016-12-28 11:52:27 -08:00
ArgumentPromotion first commit 2016-12-28 11:52:27 -08:00
AtomicExpand/ARM first commit 2016-12-28 11:52:27 -08:00
BBVectorize first commit 2016-12-28 11:52:27 -08:00
BDCE first commit 2016-12-28 11:52:27 -08:00
BranchFolding first commit 2016-12-28 11:52:27 -08:00
CodeExtractor first commit 2016-12-28 11:52:27 -08:00
CodeGenPrepare first commit 2016-12-28 11:52:27 -08:00
ConstProp first commit 2016-12-28 11:52:27 -08:00
ConstantHoisting first commit 2016-12-28 11:52:27 -08:00
ConstantMerge first commit 2016-12-28 11:52:27 -08:00
CorrelatedValuePropagation first commit 2016-12-28 11:52:27 -08:00
DeadArgElim first commit 2016-12-28 11:52:27 -08:00
DeadStoreElimination first commit 2016-12-28 11:52:27 -08:00
EarlyCSE DXC Tests: Filter out unsupported test, add verbose option and improve output (#5537) 2023-08-18 10:56:52 -07:00
EliminateAvailableExternally first commit 2016-12-28 11:52:27 -08:00
Float2Int first commit 2016-12-28 11:52:27 -08:00
FunctionAttrs first commit 2016-12-28 11:52:27 -08:00
GCOVProfiling first commit 2016-12-28 11:52:27 -08:00
GVN first commit 2016-12-28 11:52:27 -08:00
GlobalDCE first commit 2016-12-28 11:52:27 -08:00
GlobalOpt [GlobalOpt] Sort members of llvm.used deterministically (#5209) 2023-05-15 11:24:25 -04:00
IPConstantProp first commit 2016-12-28 11:52:27 -08:00
IRCE first commit 2016-12-28 11:52:27 -08:00
IndVarSimplify first commit 2016-12-28 11:52:27 -08:00
Inline first commit 2016-12-28 11:52:27 -08:00
InstCombine first commit 2016-12-28 11:52:27 -08:00
InstMerge first commit 2016-12-28 11:52:27 -08:00
InstSimplify first commit 2016-12-28 11:52:27 -08:00
Internalize first commit 2016-12-28 11:52:27 -08:00
JumpThreading first commit 2016-12-28 11:52:27 -08:00
LCSSA first commit 2016-12-28 11:52:27 -08:00
LICM first commit 2016-12-28 11:52:27 -08:00
LoadCombine first commit 2016-12-28 11:52:27 -08:00
LoopDeletion first commit 2016-12-28 11:52:27 -08:00
LoopDistribute first commit 2016-12-28 11:52:27 -08:00
LoopIdiom first commit 2016-12-28 11:52:27 -08:00
LoopInterchange first commit 2016-12-28 11:52:27 -08:00
LoopReroll first commit 2016-12-28 11:52:27 -08:00
LoopRotate first commit 2016-12-28 11:52:27 -08:00
LoopSimplify first commit 2016-12-28 11:52:27 -08:00
LoopStrengthReduce first commit 2016-12-28 11:52:27 -08:00
LoopUnroll first commit 2016-12-28 11:52:27 -08:00
LoopUnswitch first commit 2016-12-28 11:52:27 -08:00
LoopVectorize first commit 2016-12-28 11:52:27 -08:00
LowerAtomic first commit 2016-12-28 11:52:27 -08:00
LowerBitSets first commit 2016-12-28 11:52:27 -08:00
LowerExpectIntrinsic first commit 2016-12-28 11:52:27 -08:00
LowerInvoke first commit 2016-12-28 11:52:27 -08:00
LowerSwitch first commit 2016-12-28 11:52:27 -08:00
Mem2Reg first commit 2016-12-28 11:52:27 -08:00
MemCpyOpt first commit 2016-12-28 11:52:27 -08:00
MergeFunc first commit 2016-12-28 11:52:27 -08:00
MetaRenamer first commit 2016-12-28 11:52:27 -08:00
NaryReassociate first commit 2016-12-28 11:52:27 -08:00
PartiallyInlineLibCalls first commit 2016-12-28 11:52:27 -08:00
PhaseOrdering first commit 2016-12-28 11:52:27 -08:00
Reassociate Reassociate: add global reassociation algorithm (#6598) 2024-05-21 11:55:40 -07:00
Reg2Mem first commit 2016-12-28 11:52:27 -08:00
SCCP first commit 2016-12-28 11:52:27 -08:00
SLPVectorizer first commit 2016-12-28 11:52:27 -08:00
SROA first commit 2016-12-28 11:52:27 -08:00
SafeStack first commit 2016-12-28 11:52:27 -08:00
SampleProfile first commit 2016-12-28 11:52:27 -08:00
ScalarRepl first commit 2016-12-28 11:52:27 -08:00
Scalarizer first commit 2016-12-28 11:52:27 -08:00
SimplifyCFG DXC Tests: Filter out unsupported test, add verbose option and improve output (#5537) 2023-08-18 10:56:52 -07:00
Sink first commit 2016-12-28 11:52:27 -08:00
SpeculativeExecution first commit 2016-12-28 11:52:27 -08:00
StraightLineStrengthReduce first commit 2016-12-28 11:52:27 -08:00
StripSymbols first commit 2016-12-28 11:52:27 -08:00
StructurizeCFG first commit 2016-12-28 11:52:27 -08:00
TailCallElim first commit 2016-12-28 11:52:27 -08:00
TailDup first commit 2016-12-28 11:52:27 -08:00
Util first commit 2016-12-28 11:52:27 -08:00
lit.local.cfg Enable `.ll` test suffix for LLVM tests (#5887) 2023-10-18 11:55:53 -05:00