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 | 1d441adfbfe6093c118b7f39add3239f55bb196c (patch) | |
tree | 226e7c55eff74c76dcf75284f8895c3a69efcf79 /llvm/lib/CodeGen/AsmPrinter.cpp | |
parent | 44f121abc15373c0682b567c2adb5f1e6581eb6d (diff) | |
download | bcm5719-llvm-1d441adfbfe6093c118b7f39add3239f55bb196c.tar.gz bcm5719-llvm-1d441adfbfe6093c118b7f39add3239f55bb196c.zip |
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
llvm-svn: 28141
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter.cpp')
0 files changed, 0 insertions, 0 deletions