llvm-6502/test/Transforms/InstCombine
Chris Lattner e5ff22e605 Add tests for 16-bit byteswaps.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29086 91177308-0d34-0410-b5e6-96231b3b80d8
2006-07-10 20:25:01 +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 Renamed as' => llvm-as', dis' => llvm-dis', link' => llvm-link'. 2003-09-16 15:29:54 +00:00
2002-05-14-SubFailure.ll Renamed as' => llvm-as', dis' => llvm-dis', link' => llvm-link'. 2003-09-16 15:29:54 +00:00
2002-05-14-TouchDeletedInst.ll Renamed as' => llvm-as', dis' => llvm-dis', link' => llvm-link'. 2003-09-16 15:29:54 +00:00
2002-08-02-CastTest.ll The instruction combining pass removes dead instructions, there is no need 2004-02-28 05:26:06 +00:00
2002-09-17-GetElementPtrCrash.ll Renamed as' => llvm-as', dis' => llvm-dis', link' => llvm-link'. 2003-09-16 15:29:54 +00:00
2002-12-05-MissedConstProp.ll Renamed as' => llvm-as', dis' => llvm-dis', link' => llvm-link'. 2003-09-16 15:29:54 +00:00
2003-05-26-CastMiscompile.ll Renamed as' => llvm-as', dis' => llvm-dis', link' => llvm-link'. 2003-09-16 15:29:54 +00:00
2003-05-27-ConstExprCrash.ll Renamed as' => llvm-as', dis' => llvm-dis', link' => llvm-link'. 2003-09-16 15:29:54 +00:00
2003-06-05-BranchInvertInfLoop.ll Renamed as' => llvm-as', dis' => llvm-dis', link' => llvm-link'. 2003-09-16 15:29:54 +00:00
2003-06-22-ConstantExprCrash.ll Renamed as' => llvm-as', dis' => llvm-dis', link' => llvm-link'. 2003-09-16 15:29:54 +00:00
2003-07-21-ExternalConstant.ll Renamed as' => llvm-as', dis' => llvm-dis', link' => llvm-link'. 2003-09-16 15:29:54 +00:00
2003-08-12-AllocaNonNull.ll Renamed as' => llvm-as', dis' => llvm-dis', link' => llvm-link'. 2003-09-16 15:29:54 +00:00
2003-09-09-VolatileLoadElim.ll Renamed as' => llvm-as', dis' => llvm-dis', link' => llvm-link'. 2003-09-16 15:29:54 +00:00
2003-10-23-InstcombineNullFail.ll document real source of bug 2003-10-23 16:00:59 +00:00
2003-10-29-CallSiteResolve.ll New testcase crashing the instruction combiner 2003-10-30 00:39:25 +00:00
2003-11-03-VarargsCallBug.ll New testcase for a bug in instcombine 2003-11-03 18:33:44 +00:00
2003-11-13-ConstExprCastCall.ll Instcombine should promote this, and because it isn't, we are failing poolalloc tests 2003-11-13 19:05:15 +00:00
2004-01-13-InstCombineInvokePHI.ll new testcase 2004-01-14 05:53:11 +00:00
2004-02-23-ShiftShiftOverflow.ll Test for the other way also 2004-02-23 20:24:16 +00:00
2004-03-13-InstCombineInfLoop.ll New testcase, distilled from povray I think. 2004-03-13 23:53:04 +00:00
2004-04-04-InstCombineReplaceAllUsesWith.ll New testcase that crashes the instcombine pass. Dominance properties have 2004-04-05 02:01:32 +00:00
2004-05-07-UnsizedCastLoad.ll New testcase for PR336 2004-05-07 15:38:50 +00:00
2004-07-27-ConstantExprMul.ll *** empty log message *** 2004-07-27 20:50:02 +00:00
2004-08-09-RemInfLoop.llx New testcase 2004-08-09 21:03:35 +00:00
2004-08-10-BoolSetCC.ll New testcase that instcombine is getting wrong 2004-08-11 00:49:50 +00:00
2004-09-20-BadLoadCombine2.llx Two testcases for invalid transformations that instcombine is doing 2004-09-20 10:14:27 +00:00
2004-09-20-BadLoadCombine.llx Two testcases for invalid transformations that instcombine is doing 2004-09-20 10:14:27 +00:00
2004-09-28-BadShiftAndSetCC.llx New testcase for a latent bug in instcombine that I have been chasing for 2004-09-28 17:50:05 +00:00
2004-11-22-Missed-and-fold.ll This now works. 2005-01-01 16:12:52 +00:00
2004-11-27-SetCCForCastLargerAndConstant.ll unxfail this. 2005-04-24 06:55:40 +00:00
2004-12-08-InstCombineCrash.ll Fix this regression and remove the XFAIL from this test. 2004-12-08 23:10:30 +00:00
2004-12-08-RemInfiniteLoop.ll This testcase causes the instruction combiner to go spiraling into 2004-12-08 22:18:35 +00:00
2005-03-04-ShiftOverflow.ll Testcase for a bug that caused us to miscompile ptrdist/ks on sparc. 2005-03-04 23:20:46 +00:00
2005-04-07-UDivSelectCrash.ll new testcase that crashes the instcombiner. 2005-04-08 03:58:21 +00:00
2005-06-15-DivSelectCrash.ll new testcase for PR583 2005-06-16 04:55:29 +00:00
2005-06-15-ShiftSetCCCrash.ll new testcase for PR577 2005-06-15 20:52:39 +00:00
2005-06-16-RangeCrash.ll new testcase for PR585 2005-06-17 02:04:47 +00:00
2005-06-16-SetCCOrSetCCMiscompile.ll new testcase for PR586 2005-06-17 03:58:30 +00:00
2005-07-07-DeadPHILoop.ll New testcase distilled from a large chunk of code Misha sent me. 2005-07-07 20:39:45 +00:00
2006-02-07-SextZextCrash.ll new testcase that caused instcombine to crash on 176.gcc last night. 2006-02-07 19:07:25 +00:00
2006-02-13-DemandedMiscompile.ll testcase reduced from Ptrdist/bc that is miscompiled by recent instcombine changes. 2006-02-13 22:31:50 +00:00
2006-02-28-Crash.ll new testcase 2006-02-28 19:46:56 +00:00
2006-03-30-ExtractElement.ll new testcase that crashes instcombine 2006-03-30 22:01:08 +00:00
2006-04-01-InfLoop.ll New testcase that caused instcombine to infinitely loop (with my recent 2006-04-01 22:04:40 +00:00
2006-04-28-ShiftShiftLongLong.ll new testcase miscompiled by instcombine 2006-04-28 22:17:20 +00:00
2006-05-04-DemandedBitCrash.ll new testcase that crashes the instcombine pass 2006-05-04 17:33:24 +00:00
2006-05-06-Infloop.ll new testcase from ghostscript that inf looped instcombine 2006-05-06 08:58:06 +00:00
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
add.ll new testcase I forgot to check in earlier 2006-03-05 23:53:04 +00:00
alloca.ll New testcase, the optimizer can delete zero sized allocas 2004-03-19 06:07:43 +00:00
and-or-and.ll New testcase for common bitfield manipulation instruction sequences. 2005-01-01 16:14:18 +00:00
and.ll new testcase 2006-02-13 23:07:02 +00:00
bit-tracking.ll tweaks 2006-02-12 08:01:35 +00:00
bittest.ll new testcase 2006-02-09 07:38:30 +00:00
bswap.ll Add tests for 16-bit byteswaps. 2006-07-10 20:25:01 +00:00
call-cast-target.ll can we cast between pointers and IntPtrType 2006-04-20 14:54:17 +00:00
call-intrinsics.ll new testcase for intrinsic folding 2004-02-28 05:28:42 +00:00
call.ll The instruction combining pass removes dead instructions, there is no need 2004-02-28 05:26:06 +00:00
canonicalize_branch.ll The instcombiner should canonicalize comparisons. 2004-02-27 06:27:07 +00:00
cast-cast-to-and.ll New testcases that we should combine. 2005-01-01 16:14:46 +00:00
cast-load-gep.ll New testcase 2005-01-31 04:49:22 +00:00
cast-propagate.ll New testcase 2004-04-08 20:39:40 +00:00
cast-set.ll Move a test from cast-set to a new bit-tracking.ll file. Update file comments 2003-11-03 05:30:34 +00:00
cast.ll New testcase for instcombine 2006-05-13 02:00:07 +00:00
CPP_min_max.llx New testcase for PR362: Icky code generated for std::min/std::max 2004-09-19 19:17:10 +00:00
deadcode.ll New testcase, check that dead code doesn't pessimize instcombine 2006-05-10 18:56:04 +00:00
dg.exp Added the ability to xfail based on llvmgcc version 2006-04-12 21:57:40 +00:00
div.ll new testcases 2006-02-05 07:52:47 +00:00
GEPIdxCanon.ll New testcase that instcombine should help out with. 2004-07-20 01:47:49 +00:00
getelementptr_cast.ll New testcase 2004-11-27 17:55:20 +00:00
getelementptr_const.ll New testcase 2004-03-25 22:59:06 +00:00
getelementptr_index.ll New testcase 2004-04-07 18:38:01 +00:00
getelementptr-setcc.ll More testcases 2005-01-14 00:26:25 +00:00
getelementptr.ll new testcase 2005-05-01 04:41:57 +00:00
IntPtrCast.ll new testcase 2004-07-20 05:20:39 +00:00
JavaCompare.ll New testcase that is important for the Java FE 2004-06-09 05:07:01 +00:00
load.ll new testcase 2005-09-12 23:22:17 +00:00
malloc.ll The instruction combining pass removes dead instructions, there is no need 2004-02-28 05:26:06 +00:00
memmove.ll New testcase for memmove -> memcpy transform 2004-10-12 04:51:55 +00:00
mul.ll Handle the unsigned form as well 2004-02-23 06:37:33 +00:00
narrow.ll This test passes now, remove xfail marker 2006-05-07 18:16:31 +00:00
not.ll The instruction combining pass removes dead instructions, there is no need 2004-02-28 05:26:06 +00:00
or.ll new testcase 2006-02-26 19:55:30 +00:00
phi.ll New testcase: the phi can be eliminated if the casts are sucked into it. 2004-11-14 19:12:17 +00:00
README.txt *** empty log message *** 2002-08-03 20:24:45 +00:00
rem.ll add a couple more cases 2006-03-02 06:50:04 +00:00
select.ll add a new testcase 2005-04-23 15:31:03 +00:00
set.ll new testcases 2006-02-27 02:36:19 +00:00
setcc-strength-reduce.ll Renamed as' => llvm-as', dis' => llvm-dis', link' => llvm-link'. 2003-09-16 15:29:54 +00:00
shift.ll Make these tests fail if opt crashes. 2006-02-12 01:32:58 +00:00
signext.ll All of these should turn into sign extends (e.g. extsh/extsb on PPC) 2005-09-24 23:42:18 +00:00
sink_instruction.ll new testcase 2004-12-08 23:41:16 +00:00
stacksaverestore.ll new testcases for the stackrestore instcombine optimizations 2006-01-13 22:01:47 +00:00
store.ll New testcase for trivial DSE 2006-05-26 19:18:40 +00:00
sub.ll New testcases 2006-02-27 01:43:02 +00:00
vec_insert_to_shuffle.ll This should turn into one vector shuffle instruction. 2006-04-27 21:13:58 +00:00
vec_narrow.ll new testcase for vector narrowing. 2006-03-05 00:21:28 +00:00
vec_shuffle.ll new testcase 2006-05-25 23:23:22 +00:00
xor.ll new testcases 2006-04-01 08:02:51 +00:00
zeroext-and-reduce.ll New testcases that we should combine. 2005-01-01 16:14:46 +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.