summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-24 00:09:49 +0000
committerChris Lattner <sabre@nondot.org>2010-01-24 00:09:49 +0000
commit1b35bbe8137dbb8e9966357e3b2d426e6ccc3a27 (patch)
tree59f45389f75d7feb8cc719ad131a8a06900169fa /clang/lib/CodeGen/CodeGenFunction.cpp
parent586d997e98d7f2c2b02d50422da3f604062ab68b (diff)
downloadbcm5719-llvm-1b35bbe8137dbb8e9966357e3b2d426e6ccc3a27.tar.gz
bcm5719-llvm-1b35bbe8137dbb8e9966357e3b2d426e6ccc3a27.zip
change the canonical form of "cond ? -1 : 0" to be
"sext cond" instead of a select. This simplifies some instcombine code, matches the policy for zext (cond ? 1 : 0 -> zext), and allows us to generate better code for a testcase on ppc. llvm-svn: 94339
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud