diff options
author | Chris Lattner <sabre@nondot.org> | 2006-05-06 09:00:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-05-06 09:00:16 +0000 |
commit | 33a61139951d00191b1ca15dd4502ff114c3d169 (patch) | |
tree | 43ee6fe1c21b550c7d38848a1393f5df60e22e57 /lib/Bytecode/Archive/Archive.cpp | |
parent | 985906323f67077a970612aa102141b5416688f9 (diff) |
Move some code around.
Make the "fold (and (cast A), (cast B)) -> (cast (and A, B))" transformation
only apply when both casts really will cause code to be generated. If one or
both doesn't, then this xform doesn't remove a cast.
This fixes Transforms/InstCombine/2006-05-06-Infloop.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28141 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Archive/Archive.cpp')
0 files changed, 0 insertions, 0 deletions