llvm/test/Transforms/InstCombine
Chris Lattner 296d7a778a new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35144 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-18 22:50:57 +00:00
..
.cvsignore Tired of wading through cvs's list ? files that are generated when building 2006-03-23 23:41:57 +00:00
2002-03-11-InstCombineHang.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2002-05-14-SubFailure.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2002-05-14-TouchDeletedInst.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2002-08-02-CastTest.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2002-09-17-GetElementPtrCrash.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2002-12-05-MissedConstProp.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2003-05-26-CastMiscompile.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2003-05-27-ConstExprCrash.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2003-06-05-BranchInvertInfLoop.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2003-06-22-ConstantExprCrash.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2003-07-21-ExternalConstant.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2003-08-12-AllocaNonNull.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2003-09-09-VolatileLoadElim.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2003-10-23-InstcombineNullFail.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2003-10-29-CallSiteResolve.ll Fix borken testcase 2006-12-16 02:30:24 +00:00
2003-11-03-VarargsCallBug.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2003-11-13-ConstExprCastCall.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2004-01-13-InstCombineInvokePHI.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2004-02-23-ShiftShiftOverflow.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2004-03-13-InstCombineInfLoop.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2004-04-04-InstCombineReplaceAllUsesWith.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2004-05-07-UnsizedCastLoad.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2004-07-27-ConstantExprMul.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2004-08-09-RemInfLoop.llx Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2004-08-10-BoolSetCC.ll For PR1043: 2007-01-13 05:06:52 +00:00
2004-09-20-BadLoadCombine2.llx Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2004-09-20-BadLoadCombine.llx Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2004-09-28-BadShiftAndSetCC.llx Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2004-11-22-Missed-and-fold.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2004-11-27-SetCCForCastLargerAndConstant.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2004-12-08-InstCombineCrash.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2004-12-08-RemInfiniteLoop.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2005-03-04-ShiftOverflow.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2005-04-07-UDivSelectCrash.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2005-06-15-DivSelectCrash.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2005-06-15-ShiftSetCCCrash.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2005-06-16-RangeCrash.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2005-06-16-SetCCOrSetCCMiscompile.ll For PR1043: 2007-01-13 05:06:52 +00:00
2005-07-07-DeadPHILoop.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2006-02-07-SextZextCrash.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2006-02-13-DemandedMiscompile.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2006-02-28-Crash.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2006-03-30-ExtractElement.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2006-04-01-InfLoop.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2006-04-28-ShiftShiftLongLong.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2006-05-04-DemandedBitCrash.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2006-05-06-Infloop.ll For PR1070: 2007-01-02 05:53:06 +00:00
2006-05-10-InvalidIndexUndef.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2006-06-28-infloop.ll For PR950: 2006-12-31 06:02:00 +00:00
2006-09-11-EmptyStructCrash.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2006-09-15-CastToBool.ll For PR950: 2006-12-31 06:02:00 +00:00
2006-10-19-SignedToUnsignedCastAndConst-2.ll For PR950: 2006-12-31 06:02:00 +00:00
2006-10-19-SignedToUnsignedCastAndConst.ll For PR950: 2006-12-31 06:02:00 +00:00
2006-10-20-mask.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2006-10-26-VectorReassoc.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2006-11-03-Memmove64.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2006-11-10-ashr-miscompile.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2006-11-27-XorBug.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
2006-12-01-BadFPVectorXform.ll Update this test to use llvm-update. 2006-12-02 05:02:46 +00:00
2006-12-05-fp-to-int-ext.ll Update tests that need to be run through llvm-upgrade. This is necessary 2006-12-29 20:01:32 +00:00
2006-12-08-ICmp-Combining.ll For PR950: 2006-12-08 17:38:55 +00:00
2006-12-08-Phi-ICmp-Op-Fold.ll For PR950: 2006-12-23 06:05:41 +00:00
2006-12-08-Select-ICmp.ll New test cases for regressions in the SetCC -> ICmp patch. 2006-12-09 05:13:01 +00:00
2006-12-10-ICmp-GEP-GEP.ll For PR950: 2006-12-23 06:05:41 +00:00
2006-12-15-Range-Test.ll Update tests that need to be run through llvm-upgrade. This is necessary 2006-12-29 20:01:32 +00:00
2006-12-23-Select-Cmp-Cmp.ll Update tests that need to be run through llvm-upgrade. This is necessary 2006-12-29 20:01:32 +00:00
2007-01-13-ExtCompareMiscompile.ll For PR761: 2007-01-26 08:25:06 +00:00
2007-01-14-FcmpSelf.ll For PR761: 2007-01-26 08:25:06 +00:00
2007-01-18-VectorInfLoop.ll For PR761: 2007-01-26 08:25:06 +00:00
2007-01-27-AndICmp.ll Testcase for an instcombine miscompilation reduced by Anton. 2007-01-27 23:07:12 +00:00
2007-02-01-LoadSinkAlloca.ll Prepare for PR411 2007-02-04 02:11:13 +00:00
2007-02-07-PointerCast.ll This really only affects pointers in high memory, and only llvm 1.9, but make a regression for it anyway 2007-02-07 22:23:47 +00:00
2007-02-23-PhiFoldInfLoop.ll testcase for pr1217 2007-02-24 01:03:11 +00:00
2007-03-13-CompareMerge.ll testcase for PR1244 2007-03-13 14:25:35 +00:00
add2.ll new testcase 2007-03-05 00:01:38 +00:00
add.ll Changes to support making the shift instructions be true BinaryOperators. 2007-02-02 02:16:23 +00:00
alloca.ll add a simple case where instcombine can detect and remove a dead alloca 2007-01-15 06:51:25 +00:00
and-compare.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
and-or-and.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
and-xor-merge.ll new testcase 2007-03-18 22:50:57 +00:00
and.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
binop-cast.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
bit-tracking.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
bittest.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
bswap-fold.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
bswap.ll instcombine doesn't do CSE, simplify unrelated detail 2007-03-03 02:27:02 +00:00
call-cast-target.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
call-intrinsics.ll Upgrade intrinsic function calls manually. 2006-12-02 20:41:53 +00:00
call.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
canonicalize_branch.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
cast2.ll new testcase: instcombine should remove all the casts. 2007-03-03 05:24:06 +00:00
cast_ptr.ll fix this testcase 2007-02-23 19:39:24 +00:00
cast-and-cast.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
cast-cast-to-and.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
cast-load-gep.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
cast-malloc.ll update to new t-d strings. 2007-02-15 00:54:16 +00:00
cast-propagate.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
cast-set.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
cast.ll For PR950: 2006-12-23 06:05:41 +00:00
CPP_min_max.llx Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
deadcode.ll For PR950: 2006-12-31 06:02:00 +00:00
dg.exp Added the ability to xfail based on llvmgcc version 2006-04-12 21:57:40 +00:00
div.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
fpcast.ll For PR950: 2006-12-31 06:02:00 +00:00
GEPIdxCanon.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
getelementptr_cast.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
getelementptr_const.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
getelementptr_index.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
getelementptr-setcc.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
getelementptr.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
hoist_instr.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
IntPtrCast.ll For PR761: 2007-01-26 08:25:06 +00:00
JavaCompare.ll For PR950: 2006-12-23 06:05:41 +00:00
load.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
malloc.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
memmove.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
mul.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
narrow.ll For PR1043: 2007-01-13 05:06:52 +00:00
not.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
or.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
phi.ll new testcase 2007-01-15 07:29:29 +00:00
README.txt
rem.ll For PR411: 2007-01-30 16:16:01 +00:00
select.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
set.ll For PR950: 2006-12-23 06:05:41 +00:00
setcc-cast-cast.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
setcc-strength-reduce.ll For PR950: 2006-12-23 06:05:41 +00:00
shift-simplify.ll Changes to support making the shift instructions be true BinaryOperators. 2007-02-02 02:16:23 +00:00
shift-sra.ll Changes to support making the shift instructions be true BinaryOperators. 2007-02-02 02:16:23 +00:00
shift.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
shl-trunc.ll Update tests that need to be run through llvm-upgrade. This is necessary 2006-12-29 20:01:32 +00:00
signext.ll Changes to support making the shift instructions be true BinaryOperators. 2007-02-02 02:16:23 +00:00
sink_instruction.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
stacksaverestore.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
store.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
sub.ll For PR761: 2007-01-26 08:25:06 +00:00
udiv_select_to_select_shift.ll Add a test case for a particular udiv/select transform. 2007-03-05 22:51:08 +00:00
vec_demanded_elts.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
vec_insert_to_shuffle.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
vec_narrow.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00
vec_shuffle.ll For PR411: 2007-01-30 16:16:01 +00:00
xor.ll For PR761: 2007-01-26 08:25:06 +00:00
zeroext-and-reduce.ll For PR761: 2007-01-26 08:25:06 +00:00
zext.ll Use the llvm-upgrade program to upgrade llvm assembly. 2006-12-02 04:23:10 +00:00

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.