Make more passes preserve dominators (or state that they preserve dominators if
they all ready do). This removes two dominator recomputations prior to isel, which is a 1% improvement in total llc time for 403.gcc. The only potentially suspect thing is making GCStrategy recompute dominators if it used a custom lowering strategy. llvm-svn: 123064
Showing
- llvm/lib/CodeGen/GCStrategy.cpp 11 additions, 2 deletionsllvm/lib/CodeGen/GCStrategy.cpp
- llvm/lib/CodeGen/StackProtector.cpp 18 additions, 0 deletionsllvm/lib/CodeGen/StackProtector.cpp
- llvm/lib/CodeGen/UnreachableBlockElim.cpp 2 additions, 0 deletionsllvm/lib/CodeGen/UnreachableBlockElim.cpp
- llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp 11 additions, 0 deletionsllvm/lib/Transforms/Scalar/CodeGenPrepare.cpp
- llvm/lib/Transforms/Utils/Local.cpp 7 additions, 0 deletionsllvm/lib/Transforms/Utils/Local.cpp
Loading
Please register or sign in to comment