aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorArnold Schwaighofer <aschwaighofer@apple.com>2013-04-18 17:22:34 +0000
committerArnold Schwaighofer <aschwaighofer@apple.com>2013-04-18 17:22:34 +0000
commita3fb330d05e85107d01ecf133355d0c6a88196fd (patch)
treebb72c5b84952d2c0a48de9bb27b8637979329384 /tools/llvm-objdump/llvm-objdump.cpp
parentbff177676c32b88e19b8230cf048b5d7bdc7d657 (diff)
LoopVectorizer: Recognize min/max reductions
A min/max operation is represented by a select(cmp(lt/le/gt/ge, X, Y), X, Y) sequence in LLVM. If we see such a sequence we can treat it just as any other commutative binary instruction and reduce it. This appears to help bzip2 by about 1.5% on an imac12,2. radar://12960601 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179773 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions