summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2016-02-26 16:56:03 +0000
committerSanjay Patel <spatel@rotateright.com>2016-02-26 16:56:03 +0000
commit4402a32b3237c718e339ecb50b76d2bfb87d260d (patch)
treefd1220402fa92e095f24a4182dbdbbe21c127e74 /compiler-rt
parent70c9bc71d4f1a5cceea67ce6724da9080d5e05fa (diff)
downloadbcm5719-llvm-4402a32b3237c718e339ecb50b76d2bfb87d260d.tar.gz
bcm5719-llvm-4402a32b3237c718e339ecb50b76d2bfb87d260d.zip
[x86, SSE] fold 'isPositive' vector integer operations (PR26701)
This is one of the cases shown in: https://llvm.org/bugs/show_bug.cgi?id=26701 Shift and negate is what InstCombine appears to prefer, so I've started with that pattern. Note that the 'pcmpeq' instructions are always generating the negative one for the actual 'pcmpgt' comparison in each case (side note: why isn't there an alias mnemonic for that?). Differential Revision: http://reviews.llvm.org/D17630 llvm-svn: 262036
Diffstat (limited to 'compiler-rt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud