Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | InstCombine: Ensure select condition types are identical before merging | David Majnemer | 2015-03-03 | 1 | -0/+10 |
| | | | | | | | | | | Selection conditions may be vectors or scalars. Make sure InstCombine doesn't indiscriminately assume that a select which is value dependent on another select have identical select condition types. This fixes PR22773. llvm-svn: 231156 | ||||
* | Remove a very old instcombine where we would turn sequences of selects into | Owen Anderson | 2014-02-12 | 1 | -0/+24 |
logical operations on the i1's driving them. This is a bad idea for every target I can think of (confirmed with micro tests on all of: x86-64, ARM, AArch64, Mips, and PowerPC) because it forces the i1 to be materialized into a general purpose register, whereas consuming it directly into a select generally allows it to exist only transiently in a predicate or flags register. Chandler ran a set of performance tests with this change, and reported no measurable change on x86-64. llvm-svn: 201275 |