Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't do (X != Y) ? X : Y -> X for floating-point values; it doesn't | Dan Gohman | 2010-02-23 | 1 | -5/+23 |
| | | | | | | | | handle NaN properly. Do (X une Y) ? X : Y -> X if one of X and Y is not zero. llvm-svn: 96955 | ||||
* | Uniformize the names of type predicates: rather than having isFloatTy and | Duncan Sands | 2010-02-15 | 1 | -2/+2 |
| | | | | | | isInteger, we now have isFloatTy and isIntegerTy. Requested by Chris! llvm-svn: 96223 | ||||
* | change the canonical form of "cond ? -1 : 0" to be | Chris Lattner | 2010-01-24 | 1 | -48/+18 |
| | | | | | | | | "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 | ||||
* | Convert a ton of simple integer type equality tests to the new predicate. | Benjamin Kramer | 2010-01-05 | 1 | -1/+1 |
| | | | | llvm-svn: 92760 | ||||
* | clean up header. | Chris Lattner | 2010-01-05 | 1 | -7/+2 |
| | | | | llvm-svn: 92688 | ||||
* | split select out to its own file. | Chris Lattner | 2010-01-05 | 1 | -0/+708 |
llvm-svn: 92687 |