summaryrefslogtreecommitdiff
path: root/lib/Target/XCore/XCoreTargetObjectFile.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
commit3042a65e5f37ecd3fdf0c97133bc1e1a3f12766f (patch)
treed8c7ff09149d53186da397f6e113b33fe59338eb /lib/Target/XCore/XCoreTargetObjectFile.cpp
parent029a76b0a26981afb6bc3252b2a75b16393d893e (diff)
downloadllvm-3042a65e5f37ecd3fdf0c97133bc1e1a3f12766f.tar.gz
llvm-3042a65e5f37ecd3fdf0c97133bc1e1a3f12766f.tar.bz2
llvm-3042a65e5f37ecd3fdf0c97133bc1e1a3f12766f.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201275 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/XCoreTargetObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions