summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2014-02-12 23:54:07 +0000
committerOwen Anderson <resistor@mac.com>2014-02-12 23:54:07 +0000
commit883b5add8e3882f097d927193ecfa0955a4473e2 (patch)
tree188bdcad8a91cf948eb93fbc9f6d60ede1626d03 /llvm/lib/CodeGen/MachineModuleInfo.cpp
parentc0dca6ded73199d6a111f8b785a3a0295eb57f31 (diff)
downloadbcm5719-llvm-883b5add8e3882f097d927193ecfa0955a4473e2.tar.gz
bcm5719-llvm-883b5add8e3882f097d927193ecfa0955a4473e2.zip
Remove a very old instcombine where we would turn sequences of selects into
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
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud