llvm-project/llvm/test
Chris Lattner 4e8137d678 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
..
Analysis -disable-output is no longer needed with -analyze. 2010-01-26 19:25:59 +00:00
Archive fix a broken archive that was breaking dejagnu only (not lit) 2010-02-04 07:11:08 +00:00
Assembler Function-local metadata whose operands had been optimized to no longer refer to function-local IR were not getting written by BitcodeWriter; solution is for these metadata to be enumerated just like global metadata. 2010-02-06 01:21:09 +00:00
Bindings/Ocaml Fix test/Bindings/Ocaml/vmcore.ml. When IRBuilder::CreateMalloc was removed, 2009-10-17 23:52:26 +00:00
Bitcode Fix the bitcode reader to deserialize nuw/nsw/etc. bits properly in the case 2010-01-25 21:55:39 +00:00
BugPoint Use -output-prefix in bugpoint tests so that outputs go in temp directory (and 2009-09-07 19:26:18 +00:00
CodeGen The previous fix of widening divides that trap was too fragile as it depends on custom 2010-02-10 23:37:45 +00:00
DebugInfo Testcase for 94996 (PR 6157) 2010-02-01 22:46:05 +00:00
ExecutionEngine Test case for http://llvm.org/PR6028. 2010-01-15 11:29:26 +00:00
Feature fix bogus test 2010-01-09 19:24:18 +00:00
FrontendAda Check that accessing a struct field that occurs before the start 2009-10-22 12:53:25 +00:00
FrontendC test case for r95842. 2010-02-11 01:31:01 +00:00
FrontendC++ test case for r95604. 2010-02-08 23:27:46 +00:00
FrontendFortran These tests are x86 specific. 2009-04-22 10:39:51 +00:00
FrontendObjC Add test case for 95013. 2010-02-01 22:32:42 +00:00
FrontendObjC++
Integer Delete useless trailing semicolons. 2010-01-05 17:55:26 +00:00
LLVMC Re-disable for Darwin; I was mistaken to think this was fixed. 2010-02-09 19:54:29 +00:00
Linker When a constant's type is refined, update the constant in place 2009-09-15 15:58:07 +00:00
MC Remove the few # TAILCALL comments that snuck in. As they may fail on linux. 2010-02-11 00:18:12 +00:00
Other Canonicalize sizeof and alignof on pointer types to a canonical 2010-02-10 06:13:07 +00:00
Scripts Teach macho-dump to dump UUIDs. 2009-10-24 20:32:36 +00:00
TableGen Add an !eq() operator to TableGen. It operates on strings only. 2010-01-05 19:11:42 +00:00
Transforms Rename ValueRequiresCast to ShouldOptimizeCast, to better reflect 2010-02-11 06:26:33 +00:00
Unit CMake/lit: Add llvm_{unit_,}site_config parameters, and always pass them when running tests from the project files. 2009-12-08 19:47:36 +00:00
Verifier Delete useless trailing semicolons. 2010-01-05 17:55:26 +00:00
lib Add llvm_supports_darwin_and_target to DejaGNU as well, I'd almost forgotten it 2010-02-03 18:43:46 +00:00
CMakeLists.txt CMake/lit: Add llvm_{unit_,}site_config parameters, and always pass them when running tests from the project files. 2009-12-08 19:47:36 +00:00
Makefile Revert the test from r88984. It relies on being able to mmap 16GB of 2009-11-16 23:32:30 +00:00
Makefile.tests Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
TestRunner.sh
lit.cfg Get the LLVMC tests working with clang++ by removing the problematic CXXFLAG in lit. 2010-02-04 18:40:11 +00:00
lit.site.cfg.in Generate lit.site.cfg from a .in file, as clang does. 2009-09-22 07:38:33 +00:00
site.exp.in Two small fixes for site.exp for cmake. 2009-11-08 09:29:52 +00:00