merge some tests.
[oota-llvm.git] / test / Transforms / InstCombine /
drwxr-xr-x   ..
-rw-r--r-- 182 2002-03-11-InstCombineHang.ll
-rw-r--r-- 300 2002-05-14-SubFailure.ll
-rw-r--r-- 369 2002-08-02-CastTest.ll
-rw-r--r-- 403 2002-12-05-MissedConstProp.ll
-rw-r--r-- 238 2003-05-26-CastMiscompile.ll
-rw-r--r-- 281 2003-05-27-ConstExprCrash.ll
-rw-r--r-- 407 2003-06-05-BranchInvertInfLoop.ll
-rw-r--r-- 1223 2003-07-21-ExternalConstant.ll
-rw-r--r-- 660 2003-08-12-AllocaNonNull.ll
-rw-r--r-- 193 2003-09-09-VolatileLoadElim.ll
-rw-r--r-- 378 2003-10-29-CallSiteResolve.ll
-rw-r--r-- 328 2003-11-03-VarargsCallBug.ll
-rw-r--r-- 450 2003-11-13-ConstExprCastCall.ll
-rw-r--r-- 1012 2004-01-13-InstCombineInvokePHI.ll
-rw-r--r-- 519 2004-02-23-ShiftShiftOverflow.ll
-rw-r--r-- 504 2004-03-13-InstCombineInfLoop.ll
-rw-r--r-- 202 2004-04-04-InstCombineReplaceAllUsesWith.ll
-rw-r--r-- 240 2004-05-07-UnsizedCastLoad.ll
-rw-r--r-- 229 2004-07-27-ConstantExprMul.ll
-rw-r--r-- 210 2004-08-09-RemInfLoop.ll
-rw-r--r-- 178 2004-08-10-BoolSetCC.ll
-rw-r--r-- 641 2004-09-20-BadLoadCombine.ll
-rw-r--r-- 859 2004-09-20-BadLoadCombine2.ll
-rw-r--r-- 342 2004-09-28-BadShiftAndSetCC.ll
-rw-r--r-- 258 2004-11-22-Missed-and-fold.ll
-rw-r--r-- 5806 2004-11-27-SetCCForCastLargerAndConstant.ll
-rw-r--r-- 137 2004-12-08-RemInfiniteLoop.ll
-rw-r--r-- 277 2005-03-04-ShiftOverflow.ll
-rw-r--r-- 260 2005-04-07-UDivSelectCrash.ll
-rw-r--r-- 460 2005-06-15-DivSelectCrash.ll
-rw-r--r-- 222 2005-06-15-ShiftSetCCCrash.ll
-rw-r--r-- 247 2005-06-16-RangeCrash.ll
-rw-r--r-- 466 2005-06-16-SetCCOrSetCCMiscompile.ll
-rw-r--r-- 371 2005-07-07-DeadPHILoop.ll
-rw-r--r-- 226 2006-02-13-DemandedMiscompile.ll
-rw-r--r-- 249 2006-02-28-Crash.ll
-rw-r--r-- 297 2006-03-30-ExtractElement.ll
-rw-r--r-- 345 2006-04-28-ShiftShiftLongLong.ll
-rw-r--r-- 2422 2006-05-04-DemandedBitCrash.ll
-rw-r--r-- 602 2006-09-15-CastToBool.ll
-rw-r--r-- 313 2006-10-19-SignedToUnsignedCastAndConst-2.ll
-rw-r--r-- 416 2006-10-20-mask.ll
-rw-r--r-- 454 2006-10-26-VectorReassoc.ll
-rw-r--r-- 514 2006-11-03-Memmove64.ll
-rw-r--r-- 280 2006-11-10-ashr-miscompile.ll
-rw-r--r-- 392 2006-12-01-BadFPVectorXform.ll
-rw-r--r-- 445 2006-12-05-fp-to-int-ext.ll
-rw-r--r-- 550 2006-12-08-ICmp-Combining.ll
-rw-r--r-- 2373 2006-12-08-Phi-ICmp-Op-Fold.ll
-rw-r--r-- 2463 2006-12-08-Select-ICmp.ll
-rw-r--r-- 1124 2006-12-15-Range-Test.ll
-rw-r--r-- 3983 2006-12-23-Select-Cmp-Cmp.ll
-rw-r--r-- 188 2007-01-13-ExtCompareMiscompile.ll
-rw-r--r-- 141 2007-01-14-FcmpSelf.ll
-rw-r--r-- 233 2007-01-18-VectorInfLoop.ll
-rw-r--r-- 268 2007-01-27-AndICmp.ll
-rw-r--r-- 1636 2007-02-01-LoadSinkAlloca.ll
-rw-r--r-- 895 2007-02-07-PointerCast.ll
-rw-r--r-- 833 2007-02-23-PhiFoldInfLoop.ll
-rw-r--r-- 272 2007-03-13-CompareMerge.ll
-rw-r--r-- 203 2007-03-19-BadTruncChangePR1261.ll
-rw-r--r-- 216 2007-03-21-SignedRangeTest.ll
-rw-r--r-- 1075 2007-03-25-BadShiftMask.ll
-rw-r--r-- 258 2007-03-25-DoubleShift.ll
-rw-r--r-- 1218 2007-03-26-BadShiftMask.ll
-rw-r--r-- 738 2007-03-27-PR1280.ll
-rw-r--r-- 688 2007-04-04-BadFoldBitcastIntoMalloc.ll
-rw-r--r-- 153 2007-04-08-SingleEltVectorCrash.ll
-rw-r--r-- 2031 2007-05-04-Crash.ll
-rw-r--r-- 321 2007-05-10-icmp-or.ll
-rw-r--r-- 675 2007-05-14-Crash.ll
-rw-r--r-- 315 2007-05-18-CastFoldBug.ll
-rw-r--r-- 636 2007-06-06-AshrSignBit.ll
-rw-r--r-- 275 2007-06-21-DivCompareMiscomp.ll
-rw-r--r-- 356 2007-08-02-InfiniteLoop.ll
-rw-r--r-- 495 2007-09-10-AliasConstFold.ll
-rw-r--r-- 1168 2007-09-11-Trampoline.ll
-rw-r--r-- 348 2007-09-17-AliasConstFold2.ll
-rw-r--r-- 763 2007-10-10-EliminateMemCpy.ll
-rw-r--r-- 1208 2007-10-12-Crash.ll
-rw-r--r-- 1800 2007-10-28-stacksave.ll
-rw-r--r-- 1396 2007-10-31-RangeCrash.ll
-rw-r--r-- 761 2007-10-31-StringCrash.ll
-rw-r--r-- 545 2007-11-07-OpaqueAlignCrash.ll
-rw-r--r-- 187 2007-11-15-CompareMiscomp.ll
-rw-r--r-- 279 2007-11-22-IcmpCrash.ll
-rw-r--r-- 476 2007-11-25-CompatibleAttributes.ll
-rw-r--r-- 356 2007-12-10-ConstFoldCompare.ll
-rw-r--r-- 359 2007-12-12-GEPScale.ll
-rw-r--r-- 166 2007-12-16-AsmNoUnwind.ll
-rw-r--r-- 1107 2007-12-18-AddSelCmpSub.ll
-rw-r--r-- 1683 2007-12-28-IcmpSub2.ll
-rw-r--r-- 656 2008-01-06-BitCastAttributes.ll
-rw-r--r-- 201 2008-01-06-CastCrash.ll
-rw-r--r-- 211 2008-01-06-VoidCast.ll
-rw-r--r-- 270 2008-01-13-AndCmpCmp.ll
-rw-r--r-- 345 2008-01-13-NoBitCastAttributes.ll
-rw-r--r-- 1181 2008-01-14-DoubleNest.ll
-rw-r--r-- 1180 2008-01-14-VarArgTrampoline.ll
-rw-r--r-- 458 2008-01-21-MismatchedCastAndCompare.ll
-rw-r--r-- 747 2008-01-21-MulTrunc.ll
-rw-r--r-- 167 2008-01-27-FloatSelect.ll
-rw-r--r-- 529 2008-01-29-AddICmp.ll
-rw-r--r-- 138 2008-02-13-MulURem.ll
-rw-r--r-- 268 2008-02-16-SDivOverflow.ll
-rw-r--r-- 159 2008-02-16-SDivOverflow2.ll
-rw-r--r-- 250 2008-02-23-MulSub.ll
-rw-r--r-- 457 2008-02-28-OrFCmpCrash.ll
-rw-r--r-- 265 2008-03-13-IntToPtr.ll
-rw-r--r-- 648 2008-04-22-ByValBitcast.ll
-rw-r--r-- 222 2008-04-28-VolatileStore.ll
-rw-r--r-- 978 2008-04-29-VolatileLoadDontMerge.ll
-rw-r--r-- 711 2008-04-29-VolatileLoadMerge.ll
-rw-r--r-- 948 2008-05-08-LiveStoreDelete.ll
-rw-r--r-- 1049 2008-05-08-StrLenSink.ll
-rw-r--r-- 1262 2008-05-09-SinkOfInvoke.ll
-rw-r--r-- 735 2008-05-17-InfLoop.ll
-rw-r--r-- 444 2008-05-18-FoldIntToPtr.ll
-rw-r--r-- 128 2008-05-22-IDivVector.ll
-rw-r--r-- 186 2008-05-22-NegValVector.ll
-rw-r--r-- 336 2008-05-23-CompareFold.ll
-rw-r--r-- 122 2008-05-31-AddBool.ll
-rw-r--r-- 378 2008-05-31-Bools.ll
-rw-r--r-- 134 2008-06-05-ashr-crash.ll
-rw-r--r-- 1428 2008-06-08-ICmpPHI.ll
-rw-r--r-- 606 2008-06-13-InfiniteLoopStore.ll
-rw-r--r-- 422 2008-06-13-ReadOnlyCallStore.ll
-rw-r--r-- 491 2008-06-19-UncondLoad.ll
-rw-r--r-- 210 2008-06-21-CompareMiscomp.ll
-rw-r--r-- 1548 2008-06-24-StackRestore.ll
-rw-r--r-- 241 2008-07-08-AndICmp.ll
-rw-r--r-- 270 2008-07-08-ShiftOneAndOne.ll
-rw-r--r-- 205 2008-07-08-SubAnd.ll
-rw-r--r-- 968 2008-07-08-VolatileLoadMerge.ll
-rw-r--r-- 164 2008-07-09-SubAndError.ll
-rw-r--r-- 327 2008-07-10-CastSextBool.ll
-rw-r--r-- 363 2008-07-10-ICmpBinOp.ll
-rw-r--r-- 185 2008-07-11-RemAnd.ll
-rw-r--r-- 624 2008-07-13-DivZero.ll
-rw-r--r-- 178 2008-07-16-fsub.ll
-rw-r--r-- 367 2008-07-16-sse2_storel_dq.ll
-rw-r--r-- 430 2008-08-05-And.ll
-rw-r--r-- 721 2008-08-17-ICmpXorSignbit.ll
-rw-r--r-- 971 2008-09-02-VectorCrash.ll
-rw-r--r-- 320 2008-09-29-FoldingOr.ll
-rw-r--r-- 191 2008-10-11-DivCompareFold.ll
-rw-r--r-- 182 2008-10-23-ConstFoldWithoutMask.ll
-rw-r--r-- 150 2008-11-01-SRemDemandedBits.ll
-rw-r--r-- 1031 2008-11-08-FCmp.ll
-rw-r--r-- 604 2008-11-20-DivMulRem.ll
-rw-r--r-- 233 2008-11-27-IDivVector.ll
-rw-r--r-- 233 2008-11-27-MultiplyIntVec.ll
-rw-r--r-- 128 2008-11-27-UDivNegative.ll
-rw-r--r-- 157 2008-12-17-SRemNegConstVec.ll
-rw-r--r-- 749 2009-01-05-i128-crash.ll
-rw-r--r-- 1259 2009-01-08-AlignAlloca.ll
-rw-r--r-- 399 2009-01-16-PointerAddrSpace.ll
-rw-r--r-- 12117 2009-01-19-fmod-constant-float-specials.ll
-rw-r--r-- 2635 2009-01-19-fmod-constant-float.ll
-rw-r--r-- 814 2009-01-24-EmptyStruct.ll
-rw-r--r-- 485 2009-01-31-InfIterate.ll
-rw-r--r-- 437 2009-01-31-Pressure.ll
-rw-r--r-- 260 2009-02-04-FPBitcast.ll
-rw-r--r-- 19207 2009-02-20-InstCombine-SROA.ll
-rw-r--r-- 396 2009-02-21-LoadCST.ll
-rw-r--r-- 1653 2009-02-25-CrashZeroSizeArray.ll
-rw-r--r-- 390 2009-03-18-vector-ashr-crash.ll
-rw-r--r-- 230 2009-03-20-AShrOverShift.ll
-rw-r--r-- 173 2009-03-24-InfLoop.ll
-rw-r--r-- 478 2009-04-07-MulPromoteToI96.ll
-rw-r--r-- 239 2009-05-23-FCmpToICmp.ll
-rw-r--r-- 134 2009-06-11-StoreAddrSpace.ll
-rw-r--r-- 157 2009-06-16-SRemDemandedBits.ll
-rw-r--r-- 758 2009-07-02-MaskedIntVector.ll
-rw-r--r-- 595 2009-12-17-CmpSelectNull.ll
-rw-r--r-- 1429 CPP_min_max.ll
-rw-r--r-- 287 IntPtrCast.ll
-rw-r--r-- 617 JavaCompare.ll
-rw-r--r-- 217 README.txt
-rw-r--r-- 430 add-shrink.ll
-rw-r--r-- 219 add-sitofp.ll
-rw-r--r-- 8429 add.ll
-rw-r--r-- 470 add2.ll
-rw-r--r-- 633 add3.ll
-rw-r--r-- 323 addnegneg.ll
-rw-r--r-- 1874 adjust-for-sminmax.ll
-rw-r--r-- 1587 align-2d-gep.ll
-rw-r--r-- 974 align-addr.ll
-rw-r--r-- 522 align-external.ll
-rw-r--r-- 437 align-inc.ll
-rw-r--r-- 963 alloca.ll
-rw-r--r-- 355 and-compare.ll
-rw-r--r-- 930 and-fcmp.ll
-rw-r--r-- 630 and-not-or.ll
-rw-r--r-- 2037 and-or-and.ll
-rw-r--r-- 1867 and-or-not.ll
-rw-r--r-- 1063 and-or.ll
-rw-r--r-- 494 and-xor-merge.ll
-rw-r--r-- 7460 and.ll
-rw-r--r-- 268 and2.ll
-rw-r--r-- 910 apint-add1.ll
-rw-r--r-- 1317 apint-add2.ll
-rw-r--r-- 424 apint-and-compare.ll
-rw-r--r-- 1210 apint-and-or-and.ll
-rw-r--r-- 601 apint-and-xor-merge.ll
-rw-r--r-- 1284 apint-and1.ll
-rw-r--r-- 1983 apint-and2.ll
-rw-r--r-- 359 apint-call-cast-target.ll
-rw-r--r-- 320 apint-cast-and-cast.ll
-rw-r--r-- 183 apint-cast-cast-to-and.ll
-rw-r--r-- 1358 apint-cast.ll
-rw-r--r-- 493 apint-div1.ll
-rw-r--r-- 529 apint-div2.ll
-rw-r--r-- 1216 apint-elim-logicalops.ll
-rw-r--r-- 257 apint-mul1.ll
-rw-r--r-- 288 apint-mul2.ll
-rw-r--r-- 914 apint-not.ll
-rw-r--r-- 812 apint-or1.ll
-rw-r--r-- 849 apint-or2.ll
-rw-r--r-- 476 apint-rem1.ll
-rw-r--r-- 502 apint-rem2.ll
-rw-r--r-- 945 apint-select.ll
-rw-r--r-- 447 apint-shift-simplify.ll
-rw-r--r-- 4259 apint-shift.ll
-rw-r--r-- 246 apint-shl-trunc.ll
-rw-r--r-- 3231 apint-sub.ll
-rw-r--r-- 1156 apint-xor1.ll
-rw-r--r-- 1244 apint-xor2.ll
-rw-r--r-- 344 apint-zext1.ll
-rw-r--r-- 354 apint-zext2.ll
-rw-r--r-- 156 ashr-nop.ll
-rw-r--r-- 492 badmalloc.ll
-rw-r--r-- 214 binop-cast.ll
-rw-r--r-- 1116 bit-tracking.ll
-rw-r--r-- 366 bitcast-scalar-to-vector.ll
-rw-r--r-- 411 bitcast-vec-canon.ll
-rw-r--r-- 968 bitcast-vector-fold.ll
-rw-r--r-- 594 bitcount.ll
-rw-r--r-- 1207 bittest.ll
-rw-r--r-- 1586 bswap-fold.ll
-rw-r--r-- 2520 bswap.ll
-rw-r--r-- 330 call-cast-target.ll
-rw-r--r-- 611 call-intrinsics.ll
-rw-r--r-- 2491 call.ll
-rw-r--r-- 785 call2.ll
-rw-r--r-- 798 canonicalize_branch.ll
-rw-r--r-- 1113 cast-mul-select.ll
-rw-r--r-- 2049 cast-set.ll
-rw-r--r-- 525 cast-sext-zext.ll
-rw-r--r-- 11796 cast.ll
-rw-r--r-- 2382 cast_ptr.ll
-rw-r--r-- 1855 compare-signs.ll
-rw-r--r-- 338 constant-fold-compare.ll
-rw-r--r-- 4638 constant-fold-gep.ll
-rw-r--r-- 690 constant-fold-ptr-casts.ll
-rw-r--r-- 7117 crash.ll
-rw-r--r-- 1307 dce-iterate.ll
-rw-r--r-- 496 deadcode.ll
-rw-r--r-- 88 dg.exp
-rw-r--r-- 171 div-cmp-overflow.ll
-rw-r--r-- 2085 div.ll
-rw-r--r-- 1391 enforce-known-alignment.ll
-rw-r--r-- 921 exact-sdiv.ll
-rw-r--r-- 1541 extractvalue.ll
-rw-r--r-- 498 fold-bin-operand.ll
-rw-r--r-- 1147 fold-vector-zero.ll
-rw-r--r-- 1469 fp-ret-bitcast.ll
-rw-r--r-- 357 fpcast.ll
-rw-r--r-- 1197 fpextend.ll
-rw-r--r-- 222 fsub-fsub.ll
-rw-r--r-- 13705 getelementptr.ll
-rw-r--r-- 498 hoist_instr.ll
-rw-r--r-- 2286 icmp.ll
-rw-r--r-- 4467 intrinsics.ll
-rw-r--r-- 553 invariant.ll
-rw-r--r-- 1015 known_align.ll
-rw-r--r-- 2861 load-cmp.ll
-rw-r--r-- 2284 load.ll
-rw-r--r-- 241 load2.ll
-rw-r--r-- 370 load3.ll
-rw-r--r-- 1735 loadstore-alignment.ll
-rw-r--r-- 1325 logical-select.ll
-rw-r--r-- 1329 lshr-phi.ll
-rw-r--r-- 445 malloc-free-delete.ll
-rw-r--r-- 195 malloc.ll
-rw-r--r-- 796 malloc2.ll
-rw-r--r-- 1446 malloc3.ll
-rw-r--r-- 591 memcpy-to-load.ll
-rw-r--r-- 272 memcpy.ll
-rw-r--r-- 1579 memmove.ll
-rw-r--r-- 613 memset.ll
-rw-r--r-- 203 mul-masked-bits.ll
-rw-r--r-- 3023 mul.ll
-rw-r--r-- 1177 multi-use-or.ll
-rw-r--r-- 788 narrow.ll
-rw-r--r-- 1447 no-negzero.ll
-rw-r--r-- 270 not-fcmp.ll
-rw-r--r-- 1747 not.ll
-rw-r--r-- 216 nothrow.ll
-rw-r--r-- 371 nsw.ll
-rw-r--r-- 382 odr-linkage.ll
-rw-r--r-- 1166 or-fcmp.ll
-rw-r--r-- 899 or-to-xor.ll
-rw-r--r-- 6874 or.ll
-rw-r--r-- 6179 phi-merge-gep.ll
-rw-r--r-- 8202 phi.ll
-rw-r--r-- 1532 pr2645-0.ll
-rw-r--r-- 1806 pr2645-1.ll
-rw-r--r-- 317 pr2996.ll
-rw-r--r-- 857 preserve-sminmax.ll
-rw-r--r-- 444 ptr-int-cast.ll
-rw-r--r-- 1478 rem.ll
-rw-r--r-- 441 sdiv-1.ll
-rw-r--r-- 802 sdiv-2.ll
-rw-r--r-- 191 sdiv-shift.ll
-rw-r--r-- 525 select-2.ll
-rw-r--r-- 287 select-load-call.ll
-rw-r--r-- 10502 select.ll
-rw-r--r-- 4754 set.ll
-rw-r--r-- 970 setcc-strength-reduce.ll
-rw-r--r-- 2861 sext.ll
-rw-r--r-- 807 shift-simplify.ll
-rw-r--r-- 668 shift-sra.ll
-rw-r--r-- 255 shift-trunc-shift.ll
-rw-r--r-- 8805 shift.ll
-rw-r--r-- 11197 shufflemask-undef.ll
-rw-r--r-- 969 shufflevec-constant.ll
-rw-r--r-- 674 signed-comparison.ll
-rw-r--r-- 1529 signext.ll
-rw-r--r-- 2694 simplify-demanded-bits-pointer.ll
-rw-r--r-- 1812 sink_instruction.ll
-rw-r--r-- 1305 sitofp.ll
-rw-r--r-- 168 srem-simplify-bug.ll
-rw-r--r-- 167 srem.ll
-rw-r--r-- 586 srem1.ll
-rw-r--r-- 1205 stack-overalign.ll
-rw-r--r-- 2041 stacksaverestore.ll
-rw-r--r-- 1757 store.ll
-rw-r--r-- 5457 sub.ll
-rw-r--r-- 781 trunc-mask-ext.ll
-rw-r--r-- 304 udiv-simplify-bug-0.ll
-rw-r--r-- 481 udiv-simplify-bug-1.ll
-rw-r--r-- 538 udiv_select_to_select_shift.ll
-rw-r--r-- 616 udivrem-change-width.ll
-rw-r--r-- 1099 urem-simplify-bug.ll
-rw-r--r-- 176 urem.ll
-rw-r--r-- 674 vec_demanded_elts-2.ll
-rw-r--r-- 627 vec_demanded_elts-3.ll
-rw-r--r-- 2522 vec_demanded_elts.ll
-rw-r--r-- 390 vec_extract_elt.ll
-rw-r--r-- 179 vec_insertelt.ll
-rw-r--r-- 378 vec_narrow.ll
-rw-r--r-- 3097 vec_shuffle.ll
-rw-r--r-- 2959 vector-casts.ll
-rw-r--r-- 215 vector-srem.ll
-rw-r--r-- 334 volatile_store.ll
-rw-r--r-- 144 xor-undef.ll
-rw-r--r-- 4362 xor.ll
-rw-r--r-- 923 xor2.ll
-rw-r--r-- 345 zero-point-zero-add.ll
-rw-r--r-- 233 zeroext-and-reduce.ll
-rw-r--r-- 505 zext-bool-add-sub.ll
-rw-r--r-- 406 zext-fold.ll
-rw-r--r-- 1805 zext-or-icmp.ll
-rw-r--r-- 374 zext.ll