aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-11 17:11:52 +0000
committerChris Lattner <sabre@nondot.org>2006-05-11 17:11:52 +0000
commit1443bc52beddc9922826a36e661152a718830a8f (patch)
tree3ddb1fea29f17b13070883f07c7c31cb0af52007 /llvm/lib/CodeGen/MachineFunction.cpp
parentdd7230c9e0bd9c267ca666ac3f03ab9cdd23f27f (diff)
downloadllvm-1443bc52beddc9922826a36e661152a718830a8f.zip
llvm-1443bc52beddc9922826a36e661152a718830a8f.tar.gz
llvm-1443bc52beddc9922826a36e661152a718830a8f.tar.bz2
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. llvm-svn: 28224
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions