diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-01-24 00:09:49 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-01-24 00:09:49 +0000 |
| commit | 1b35bbe8137dbb8e9966357e3b2d426e6ccc3a27 (patch) | |
| tree | 59f45389f75d7feb8cc719ad131a8a06900169fa /llvm/test/FrontendC++/2007-08-01-RestrictMethod.cpp | |
| parent | 586d997e98d7f2c2b02d50422da3f604062ab68b (diff) | |
| download | bcm5719-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 'llvm/test/FrontendC++/2007-08-01-RestrictMethod.cpp')
0 files changed, 0 insertions, 0 deletions

