llvm-6502/test
Chris Lattner e0e4cc7fd5 Teach instcombine's sext elimination logic to be more aggressive.
Previously, instcombine would only promote an expression tree to
the larger type if doing so eliminated two casts.  This is because
a need to manually do the sign extend after the promoted expression
tree with two shifts.  Now, we keep track of whether the result of
the computation is going to be properly sign extended already.  If
so, we can unconditionally promote the expression, which allows us
to zap more sext's.

This implements rdar://6598839 (aka gcc pr38751)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92815 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-06 01:56:21 +00:00
..
Analysis Delete useless trailing semicolons. 2010-01-05 17:55:26 +00:00
Archive
Assembler Re-add parsing of function-local metadata; this time with testcase. 2010-01-05 22:22:14 +00:00
Bindings/Ocaml
Bitcode
BugPoint
CodeGen Move this test from test/Transforms/IndVarSimplify to 2010-01-05 22:52:54 +00:00
DebugInfo If a scope has only one instruction then first instruction is also the last instruction. 2010-01-05 16:59:17 +00:00
ExecutionEngine
Feature Allow null to be an element of NamedMDNode. e.g. !llvm.stuff = !{!0, !1, null} 2010-01-05 21:47:32 +00:00
FrontendAda
FrontendC Fix debug_inlined section entries for routines whose names are changed through __asm() extension. 2010-01-04 23:04:36 +00:00
FrontendC++ Testcase for llvm-gcc checkin 92108. 2009-12-24 01:10:43 +00:00
FrontendFortran
FrontendObjC Remove now-redundant llvm-as invocations. 2009-12-05 00:02:37 +00:00
FrontendObjC++
Integer Delete useless trailing semicolons. 2010-01-05 17:55:26 +00:00
lib
Linker
LLVMC Remove an XFAIL. 2009-12-23 20:13:44 +00:00
MC specify a triple to use, fixing the test on non-x86-64 hosts. 2009-12-22 07:01:12 +00:00
Other Delete useless trailing semicolons. 2010-01-05 17:55:26 +00:00
Scripts
TableGen Add an !eq() operator to TableGen. It operates on strings only. 2010-01-05 19:11:42 +00:00
Transforms Teach instcombine's sext elimination logic to be more aggressive. 2010-01-06 01:56:21 +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
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
lit.cfg 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
lit.site.cfg.in
Makefile
Makefile.tests
site.exp.in
TestRunner.sh