| commit | 1443bc52beddc9922826a36e661152a718830a8f | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Thu May 11 17:11:52 2006 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Thu May 11 17:11:52 2006 +0000 |
| tree | 3ddb1fea29f17b13070883f07c7c31cb0af52007 | |
| parent | dd7230c9e0bd9c267ca666ac3f03ab9cdd23f27f [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. llvm-svn: 28224