mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-01 01:54:21 +00:00
Expose expression reassociation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2557 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
94fbab0022
commit
8947fbcb68
@ -42,7 +42,7 @@ enum Opts {
|
||||
print, printm, verify,
|
||||
|
||||
// More powerful optimizations
|
||||
indvars, instcombine, sccp, adce, raise, mem2reg,
|
||||
indvars, instcombine, sccp, adce, raise, reassociate, mem2reg,
|
||||
|
||||
// Instrumentation
|
||||
trace, tracem, paths,
|
||||
@ -80,6 +80,7 @@ struct {
|
||||
{ sccp , createSCCPPass },
|
||||
{ adce , createAggressiveDCEPass },
|
||||
{ raise , createRaisePointerReferencesPass },
|
||||
{ reassociate, createReassociatePass },
|
||||
{ mem2reg , createPromoteMemoryToRegister },
|
||||
{ lowerrefs, createDecomposeMultiDimRefsPass },
|
||||
|
||||
@ -126,6 +127,7 @@ cl::EnumList<enum Opts> OptimizationList(cl::NoFlags,
|
||||
clEnumVal(instcombine, "Combine redundant instructions"),
|
||||
clEnumVal(sccp , "Sparse Conditional Constant Propogation"),
|
||||
clEnumVal(adce , "Aggressive DCE"),
|
||||
clEnumVal(reassociate, "Reassociate expressions"),
|
||||
clEnumVal(mem2reg , "Promote alloca locations to registers"),
|
||||
|
||||
clEnumVal(internalize, "Mark all fn's internal except for main"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user