diff options
author | Chris Lattner <sabre@nondot.org> | 2006-05-11 17:11:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-05-11 17:11:52 +0000 |
commit | 8c8c66a8cd793989e88ee33f0541c1ea60b3cb10 (patch) | |
tree | ce0ad76d063d2f27427cda36ac6cefe0b68543f7 /projects/Stacker/lib/compiler/StackerParser.cpp.cvs | |
parent | f4df680ad407b4d3ef127b31abaf40c0dee1c8c1 (diff) |
Refactor some code, making it simpler.
When doing the initial pass of constant folding, if we get a constantexpr,
simplify the constant expr like we would do if the constant is folded in the
normal loop.
This fixes the missed-optimization regression in
Transforms/InstCombine/getelementptr.ll last night.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28224 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'projects/Stacker/lib/compiler/StackerParser.cpp.cvs')
0 files changed, 0 insertions, 0 deletions