diff options
author | Dan Gohman <gohman@apple.com> | 2009-11-23 16:22:21 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-11-23 16:22:21 +0000 |
commit | 01b97dd01eec1197d79fceb7229f5ec233994de3 (patch) | |
tree | 88196a1f71041f2236951d786a30477f28c9262c /test/Transforms/InstCombine/2009-02-04-FPBitcast.ll | |
parent | 8f3817f505029e97d28c54548069d5bbaa9d5527 (diff) |
Make ConstantFoldConstantExpression recursively visit the entire
ConstantExpr, not just the top-level operator. This allows it to
fold many more constants.
Also, make GlobalOpt call ConstantFoldConstantExpression on
GlobalVariable initializers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89659 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/2009-02-04-FPBitcast.ll')
0 files changed, 0 insertions, 0 deletions