llvm-6502/test
Chris Lattner fdb19e5887 Fix PR2506 by being a bit more careful about reverse fact propagation when
disproving a condition.  This actually compiles the existing testcase
(udiv_select_to_select_shift) to:

define i64 @test(i64 %X, i1 %Cond) {
entry:
	%divisor1.t = lshr i64 %X, 3		; <i64> [#uses=1]
	%quotient2 = lshr i64 %X, 3		; <i64> [#uses=1]
	%sum = add i64 %divisor1.t, %quotient2		; <i64> [#uses=1]
	ret i64 %sum
}

instead of:

define i64 @test(i64 %X, i1 %Cond) {
entry:
	%quotient1.v = select i1 %Cond, i64 3, i64 4		; <i64> [#uses=1]
	%quotient1 = lshr i64 %X, %quotient1.v		; <i64> [#uses=1]
	%quotient2 = lshr i64 %X, 3		; <i64> [#uses=1]
	%sum = add i64 %quotient1, %quotient2		; <i64> [#uses=1]
	ret i64 %sum
}



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53534 91177308-0d34-0410-b5e6-96231b3b80d8
2008-07-14 00:15:52 +00:00
..
Analysis Stop creating extraneous smax/umax in SCEV. This removes a regression where we 2008-07-12 07:41:32 +00:00
Archive
Assembler Implement PR2538 2008-07-11 00:30:06 +00:00
Bindings/Ocaml Don't send checkpoints to stderr for the vmcore.ml test. 2008-06-11 14:58:01 +00:00
Bitcode
BugPoint this is unneeded now. 2008-06-16 04:25:39 +00:00
CodeGen Fix PR2536: a nasty spiller bug. If a two-address instruction uses a register but the use portion of its live range is not part of its liveinterval, it must be defined by an implicit_def. In that case, do not spill the use. e.g. 2008-07-12 01:56:02 +00:00
DebugInfo Testcase for debug info from data-only files. 2008-07-08 21:57:56 +00:00
ExecutionEngine
Feature Put CPPBackend tests into their own directory and run them only if they're 2008-07-10 22:35:32 +00:00
FrontendAda
FrontendC Testcase for PR2520. 2008-07-08 10:11:36 +00:00
FrontendC++ XFAIL some tests that became failing due to the extra error reporting recently. PR's are created for these. 2008-06-13 16:52:35 +00:00
FrontendFortran Regression test for PR2443. 2008-06-27 14:22:20 +00:00
FrontendObjC Suppress ObjC FE warnings, which cause the test to fail. 2008-06-10 18:00:45 +00:00
Integer
lib Regression test for PR2443. 2008-06-27 14:22:20 +00:00
Linker Testcase for PR2463 2008-07-05 23:33:40 +00:00
LLVMC
Other Put CPPBackend tests into their own directory and run them only if they're 2008-07-10 22:35:32 +00:00
Scripts simplify shell syntax to work better on solaris, patch by 2008-06-25 16:03:42 +00:00
TableGen
Transforms Fix PR2506 by being a bit more careful about reverse fact propagation when 2008-07-14 00:15:52 +00:00
Verifier
Makefile
Makefile.tests
TestRunner.sh