1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 12:02:58 +02:00
llvm-mirror/lib
Sanjay Patel 7266aa16e2 [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
 

llvm-svn: 262424
2016-03-01 23:55:18 +00:00
..
Analysis [SCEV] Minor cleanup: rename method, C++11'ify; NFC 2016-03-01 19:28:01 +00:00
AsmParser [IR] Extend cmpxchg to allow pointer type operands 2016-02-19 00:06:41 +00:00
Bitcode [ThinLTO] Add missing breaks when parsing summaries (NFC) 2016-02-24 17:57:28 +00:00
CodeGen DAGCombiner: Turn truncate of a bitcasted vector to an extract 2016-03-01 21:31:53 +00:00
DebugInfo [DebugInfo] Dump CIE augmentation data as a list of hex bytes 2016-03-01 18:38:05 +00:00
ExecutionEngine Refactor duplicated code for linking with pthread. 2016-03-01 15:54:40 +00:00
Fuzzer [libFuzzer] deprecate exit_on_first flag 2016-03-01 22:33:14 +00:00
IR [Verifier] Don't abort on invalid cleanuprets 2016-03-01 18:59:50 +00:00
IRReader Remove autoconf support 2016-01-26 21:29:08 +00:00
LibDriver Remove autoconf support 2016-01-26 21:29:08 +00:00
LineEditor Remove autoconf support 2016-01-26 21:29:08 +00:00
Linker Pass a std::unique_ptr to IRMover::move. 2016-02-16 18:50:12 +00:00
LTO Fix some warnings a bit harder/different 2016-03-01 20:41:17 +00:00
MC [lanai] Add ELF enum value and relocations. 2016-03-01 21:21:42 +00:00
Object [lanai] Add ELF enum value and relocations. 2016-03-01 21:21:42 +00:00
ObjectYAML Add LLVMBuild for ObjectYAML. 2016-03-01 21:29:33 +00:00
Option Annotate dump() methods with LLVM_DUMP_METHOD, addressing Richard Smith r259192 post commit comment. 2016-01-29 20:50:44 +00:00
Passes [PM] Wire up optimization levels and default pipeline construction APIs 2016-02-28 22:16:03 +00:00
ProfileData Fix some warnings a bit harder/different 2016-03-01 20:41:17 +00:00
Support Refactor duplicated code for linking with pthread. 2016-03-01 15:54:40 +00:00
TableGen [TableGen] Fix typos in comments. NFC 2016-02-26 06:50:27 +00:00
Target [NFC] Convert tabs to spaces. 2016-03-01 22:05:03 +00:00
Transforms [InstCombine] convert 'isPositive' and 'isNegative' vector comparisons to shifts (PR26701) 2016-03-01 23:55:18 +00:00
CMakeLists.txt Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00
LLVMBuild.txt Add LLVMBuild for ObjectYAML. 2016-03-01 21:29:33 +00:00