[PATCH] D17630: [x86, SSE] fold 'isPositive' vector integer operations (PR26701)
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 25 17:32:38 PST 2016
spatel created this revision.
spatel added reviewers: ab, delena, RKSimon.
spatel added a subscriber: llvm-commits.
Herald added a subscriber: mcrosier.
This is one of the cases shown in:
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5553 bytes
Desc: not available
More information about the llvm-commits