summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2009-01-11 23:22:37 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2009-01-11 23:22:37 +0000
commita0abe62904c139aa5d6257bf70ec21c1980f541f (patch)
tree10defce23e1ce473cbeaf8bb84e6b2a44d83fe11 /llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
parentfd22768b08338aae974fc118c0dd276f6a64899a (diff)
downloadbcm5719-llvm-a0abe62904c139aa5d6257bf70ec21c1980f541f.tar.gz
bcm5719-llvm-a0abe62904c139aa5d6257bf70ec21c1980f541f.zip
make ScalarExprEmitter::EmitCompare() emit the expression with the correct type instead of always zext it to an int
this fixes codegen of simple exprs in C++ like 'if (x != 0)' llvm-svn: 62060
Diffstat (limited to 'llvm/lib/CodeGen/TwoAddressInstructionPass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud