mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
b8489f09a2
a direct call with cast parameters and cast return value (if any), instcombine was prepared to cast any non-void return value into any other, whether castable or not. Add a new predicate for testing whether casting is valid, and check it both for the return value and (as a cleanup) for the parameters. llvm-svn: 45657 |
||
---|---|---|
.. | ||
ADCE | ||
ArgumentPromotion | ||
BlockPlacement | ||
BranchFolding | ||
CodeExtractor | ||
CondProp | ||
ConstantMerge | ||
ConstProp | ||
CorrelatedExprs | ||
DeadArgElim | ||
DeadStoreElimination | ||
DecomposeMultiDimRefs | ||
GCSE | ||
GlobalDCE | ||
GlobalOpt | ||
GVN | ||
GVNPRE | ||
IndVarsSimplify | ||
Inline | ||
InstCombine | ||
IPConstantProp | ||
LCSSA | ||
LICM | ||
LoopIndexSplit | ||
LoopRotate | ||
LoopSimplify | ||
LoopStrengthReduce | ||
LoopUnroll | ||
LoopUnswitch | ||
LowerInvoke | ||
LowerSetJmp | ||
LowerSwitch | ||
Mem2Reg | ||
PredicateSimplifier | ||
PruneEH | ||
RaiseAllocations | ||
Reassociate | ||
ScalarRepl | ||
SCCP | ||
SimplifyCFG | ||
SimplifyLibCalls | ||
TailCallElim | ||
TailDup |