1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/lib/Transforms
Chris Lattner a59eb7c09c Rename ValueRequiresCast to ShouldOptimizeCast, to better reflect
what it does.  Enhance it to return false to optimizing vector
sign extensions from vector comparisions, which is the idiom used
to get a splatted vector for a vector comparison.

Doing this breaks vector-casts.ll, add some compensating 
transformations to handle the important case they cover without
depending on this canonicalization.

This fixes rdar://7434900 a serious pessimization of vector compares.

llvm-svn: 95855
2010-02-11 06:26:33 +00:00
..
Hello make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
InstCombine Rename ValueRequiresCast to ShouldOptimizeCast, to better reflect 2010-02-11 06:26:33 +00:00
Instrumentation make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
IPO Strip new llvm.dbg.value intrinsic. 2010-02-10 21:19:56 +00:00
Scalar Make DSE only scan blocks that are reachable from the entry 2010-02-11 05:11:54 +00:00
Utils Teach SimplifyCFG about magic pointer constants. 2010-02-05 22:03:18 +00:00
Makefile move instcombine to its own library, it's past time. 2010-01-04 06:23:24 +00:00