llvm-6502/test/Transforms/InstCombine
Reid Spencer 3822ff5c71 For PR950:
This patch converts the old SHR instruction into two instructions,
AShr (Arithmetic) and LShr (Logical). The Shr instructions now are not
dependent on the sign of their operands.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31542 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-08 06:47:33 +00:00
..
.cvsignore
2002-03-11-InstCombineHang.ll
2002-05-14-SubFailure.ll
2002-05-14-TouchDeletedInst.ll
2002-08-02-CastTest.ll
2002-09-17-GetElementPtrCrash.ll
2002-12-05-MissedConstProp.ll
2003-05-26-CastMiscompile.ll
2003-05-27-ConstExprCrash.ll
2003-06-05-BranchInvertInfLoop.ll
2003-06-22-ConstantExprCrash.ll
2003-07-21-ExternalConstant.ll
2003-08-12-AllocaNonNull.ll
2003-09-09-VolatileLoadElim.ll
2003-10-23-InstcombineNullFail.ll
2003-10-29-CallSiteResolve.ll
2003-11-03-VarargsCallBug.ll
2003-11-13-ConstExprCastCall.ll
2004-01-13-InstCombineInvokePHI.ll
2004-02-23-ShiftShiftOverflow.ll
2004-03-13-InstCombineInfLoop.ll
2004-04-04-InstCombineReplaceAllUsesWith.ll
2004-05-07-UnsizedCastLoad.ll
2004-07-27-ConstantExprMul.ll
2004-08-09-RemInfLoop.llx
2004-08-10-BoolSetCC.ll
2004-09-20-BadLoadCombine2.llx
2004-09-20-BadLoadCombine.llx
2004-09-28-BadShiftAndSetCC.llx
2004-11-22-Missed-and-fold.ll
2004-11-27-SetCCForCastLargerAndConstant.ll Fix bug in PR454 resolution. Added new test case. 2006-10-19 18:54:08 +00:00
2004-12-08-InstCombineCrash.ll
2004-12-08-RemInfiniteLoop.ll
2005-03-04-ShiftOverflow.ll
2005-04-07-UDivSelectCrash.ll
2005-06-15-DivSelectCrash.ll
2005-06-15-ShiftSetCCCrash.ll
2005-06-16-RangeCrash.ll
2005-06-16-SetCCOrSetCCMiscompile.ll
2005-07-07-DeadPHILoop.ll
2006-02-07-SextZextCrash.ll
2006-02-13-DemandedMiscompile.ll
2006-02-28-Crash.ll
2006-03-30-ExtractElement.ll
2006-04-01-InfLoop.ll
2006-04-28-ShiftShiftLongLong.ll
2006-05-04-DemandedBitCrash.ll
2006-05-06-Infloop.ll
2006-05-10-InvalidIndexUndef.ll The patch corresponding to this test had to be reverted as unsafe. 2006-05-25 21:25:54 +00:00
2006-06-28-infloop.ll Infinite loop in instcombine that nate hit. 2006-06-28 17:34:28 +00:00
2006-09-11-EmptyStructCrash.ll new testcase for PR905 2006-09-11 21:41:56 +00:00
2006-09-15-CastToBool.ll Testcase for PR913 2006-09-16 03:13:22 +00:00
2006-10-19-SignedToUnsignedCastAndConst-2.ll It is OK to remove extra cast if operation is EQ/NE even though source 2006-10-19 20:59:13 +00:00
2006-10-19-SignedToUnsignedCastAndConst.ll Fix bug in PR454 resolution. Added new test case. 2006-10-19 18:54:08 +00:00
2006-10-20-mask.ll Test case for 2006-10-20 18:06:37 +00:00
2006-10-26-VectorReassoc.ll new testcase, should not reassoc fp vector 2006-10-26 18:26:53 +00:00
2006-11-03-Memmove64.ll Got a little ahead of myself here 2006-11-07 16:40:19 +00:00
add.ll
alloca.ll
and-or-and.ll
and.ll
bit-tracking.ll
bittest.ll
bswap.ll Add tests for 16-bit byteswaps. 2006-07-10 20:25:01 +00:00
call-cast-target.ll
call-intrinsics.ll
call.ll
canonicalize_branch.ll
cast_ptr.ll Inspired by the linux kernel, the more we keep adds in the pointer realm, the better pointer analysis works. 2006-09-19 18:23:39 +00:00
cast-cast-to-and.ll
cast-load-gep.ll
cast-propagate.ll
cast-set.ll
cast.ll new testcase, malloc should be promoted to [2 x double]. 2006-10-01 19:39:45 +00:00
CPP_min_max.llx
deadcode.ll
dg.exp
div.ll For PR950: 2006-10-26 06:15:43 +00:00
GEPIdxCanon.ll
getelementptr_cast.ll
getelementptr_const.ll
getelementptr_index.ll
getelementptr-setcc.ll
getelementptr.ll
hoist_instr.ll new testcase 2006-09-09 22:02:25 +00:00
IntPtrCast.ll
JavaCompare.ll
load.ll remove a testcase for a marginal feature 2006-11-01 07:15:44 +00:00
malloc.ll
memmove.ll
mul.ll
narrow.ll
not.ll
or.ll
phi.ll
README.txt
rem.ll
select.ll number test right 2006-09-19 06:19:19 +00:00
set.ll
setcc-strength-reduce.ll
shift-sra.ll For PR950: 2006-11-08 06:47:33 +00:00
shift.ll
signext.ll
sink_instruction.ll
stacksaverestore.ll
store.ll New testcase for trivial DSE 2006-05-26 19:18:40 +00:00
sub.ll
vec_demanded_elts.ll new testcase 2006-10-05 06:51:54 +00:00
vec_insert_to_shuffle.ll
vec_narrow.ll
vec_shuffle.ll new testcase 2006-05-25 23:23:22 +00:00
xor.ll
zeroext-and-reduce.ll

This directory contains test cases for the instcombine transformation.  The
dated tests are actual bug tests, whereas the named tests are used to test
for features that the this pass should be capable of performing.