llvm/lib/Transforms
Sanjay Patel 0cd6df9cc1 [InstCombine] convert 'isPositive' and 'isNegative' vector comparisons to shifts (PR26701)
As noted in the code comment, I don't think we can do the same transform that we do for
*scalar* integers comparisons to *vector* integers comparisons because it might pessimize
the general case. 

Exhibit A for an incomplete integer comparison ISA remains x86 SSE/AVX: it only has EQ and GT
for integer vectors.

But we should now recognize all the variants of this construct and produce the optimal code
for the cases shown in:
https://llvm.org/bugs/show_bug.cgi?id=26701
 


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@262424 91177308-0d34-0410-b5e6-96231b3b80d8
2016-03-01 23:55:18 +00:00
..
Hello Remove autoconf support 2016-01-26 21:29:08 +00:00
InstCombine [InstCombine] convert 'isPositive' and 'isNegative' vector comparisons to shifts (PR26701) 2016-03-01 23:55:18 +00:00
Instrumentation Minor code cleanup. NFC 2016-02-29 19:16:04 +00:00
IPO Perform InstructioinCombiningPass before SampleProfile pass. 2016-03-01 22:53:02 +00:00
ObjCARC ADT: Remove == and != comparisons between ilist iterators and pointers 2016-02-21 20:39:50 +00:00
Scalar [LLE] Fix a comment 2016-02-29 23:21:12 +00:00
Utils Add the beginnings of an update API for preserving MemorySSA 2016-03-01 18:46:54 +00:00
Vectorize ADT: Remove == and != comparisons between ilist iterators and pointers 2016-02-21 20:39:50 +00:00
CMakeLists.txt
LLVMBuild.txt