Commit Graph

2517 Commits

Author SHA1 Message Date
Andrew Lenharth a3bc7b8a85 test for improved zap discovery
llvm-svn: 26147
2006-02-13 18:52:01 +00:00
Chris Lattner d062f09026 this passes now, due to Nate's recent efforts
llvm-svn: 26140
2006-02-13 07:26:36 +00:00
Chris Lattner 4c388281c1 Reduce this testcase a bit more, with the help of llvm-extract and some hand tweaks
llvm-svn: 26139
2006-02-13 07:02:50 +00:00
Evan Cheng 0684e9ae6d Added a test case for a libcall insertion bug.
llvm-svn: 26137
2006-02-12 10:24:00 +00:00
Chris Lattner e6ebe1af61 tweaks
llvm-svn: 26133
2006-02-12 08:01:35 +00:00
Chris Lattner 2234a136b3 new testcase
llvm-svn: 26130
2006-02-12 02:06:31 +00:00
Chris Lattner 5e488c9cc2 move a failing testcase from bit-tracking.ll to narrow.ll, and move the
xfail marker with it

llvm-svn: 26129
2006-02-12 02:02:43 +00:00
Chris Lattner 8e99b0baca Make these tests fail if opt crashes.
llvm-svn: 26127
2006-02-12 01:32:58 +00:00
Chris Lattner f3ed03481a Update comments to be actually accurate
llvm-svn: 26124
2006-02-11 09:37:07 +00:00
Chris Lattner 00601c0c7e This is implemented by the simplify-libcalls pass, not instcombine
llvm-svn: 26123
2006-02-11 09:33:28 +00:00
Chris Lattner 11f380962b new testcase
llvm-svn: 26086
2006-02-09 07:38:30 +00:00
Chris Lattner e19b89f59c this apparently passes on linux
llvm-svn: 26082
2006-02-09 07:12:13 +00:00
Jim Laskey 15f9188d73 Disable this test for the time being as debug is brought up to speed.
llvm-svn: 26063
2006-02-08 18:17:06 +00:00
Chris Lattner d82b2036e9 new testcase for more interesting select sccp cases
llvm-svn: 26048
2006-02-08 02:37:40 +00:00
Chris Lattner ee278d9417 new testcase that caused instcombine to crash on 176.gcc last night.
llvm-svn: 26039
2006-02-07 19:07:25 +00:00
Chris Lattner b624bb5f0d new testcases
llvm-svn: 26002
2006-02-05 07:52:47 +00:00
Chris Lattner 90263ea903 These were moved to ../SPARC
llvm-svn: 25987
2006-02-05 05:53:48 +00:00
Chris Lattner a590d80e5b move V8 testcases here
llvm-svn: 25986
2006-02-05 05:52:55 +00:00
Evan Cheng d65461c232 Added a (store (op (load ...) ...) ...) folding test case.
llvm-svn: 25933
2006-02-03 06:46:41 +00:00
Chris Lattner 166ea0eda7 new testcase
llvm-svn: 25897
2006-02-02 06:35:38 +00:00
Andrew Lenharth 14a7d8ff1e test cmov immediate form
llvm-svn: 25881
2006-02-01 19:36:52 +00:00
Chris Lattner 7975f04e1f new testcase for the 'ret double folding with load' opzn
llvm-svn: 25868
2006-02-01 01:45:02 +00:00
Chris Lattner 0fe1e5842f new testcase
llvm-svn: 25835
2006-01-31 06:01:40 +00:00
Evan Cheng cf94750d38 Don't generate (or setp, setae) for SETUGE. Simply flip the operands around and
generate SETULT instead.

llvm-svn: 25823
2006-01-30 23:39:40 +00:00
Chris Lattner 4ea4dba8d9 new testcase for the 'C++' failures last night.
llvm-svn: 25820
2006-01-30 22:43:10 +00:00
Chris Lattner 3ef3dad1af new testcase
llvm-svn: 25813
2006-01-30 06:11:36 +00:00
Evan Cheng 6a92822173 Use Intel assembly syntax to look for ST
llvm-svn: 25713
2006-01-27 22:51:51 +00:00
Evan Cheng 822f629538 X86 dag isel is now (soon) the default.
llvm-svn: 25699
2006-01-27 21:15:22 +00:00
Evan Cheng 7ca86912b7 These are fp stack test cases.
llvm-svn: 25698
2006-01-27 21:14:23 +00:00
Evan Cheng a3b41703f0 XFAIL tailcall test cases until it's implemented.
llvm-svn: 25697
2006-01-27 21:13:27 +00:00
Reid Spencer 6e2135d5f9 A test case for ensuring that conversion of old-format intrinsics with
signed arguments get auto-upgraded correctly.

llvm-svn: 25681
2006-01-27 11:28:48 +00:00
Reid Spencer b3cd77f9c3 This now passes.
llvm-svn: 25680
2006-01-27 11:27:37 +00:00
Andrew Lenharth b0a3ebd766 added a couple test cases, including the new vaarg breakage
llvm-svn: 25648
2006-01-26 17:43:42 +00:00
Chris Lattner 3ccaf6ecb0 new tests for actual inline asm expressions
llvm-svn: 25625
2006-01-25 23:49:54 +00:00
Chris Lattner 317b5d5efb testcase that crashes scalarrepl
llvm-svn: 25586
2006-01-24 19:34:57 +00:00
Chris Lattner 0ff4b9914c This is still broken
llvm-svn: 25583
2006-01-24 06:13:48 +00:00
Chris Lattner 7ecf56aec4 new c front-end testcase
llvm-svn: 25579
2006-01-24 05:01:39 +00:00
Chris Lattner a1280ad4d9 minor syntax change
llvm-svn: 25566
2006-01-24 00:37:20 +00:00
Chris Lattner 243f7296e5 new testcase
llvm-svn: 25562
2006-01-23 23:24:13 +00:00
Chris Lattner c7243b5b70 Testcase that failed due to a legalizer bug
llvm-svn: 25537
2006-01-23 07:30:14 +00:00
Chris Lattner 56b39c0c32 this option is gone, the dag isel is the default now
llvm-svn: 25536
2006-01-23 07:21:12 +00:00
Chris Lattner 117367e974 make this test harder
llvm-svn: 25533
2006-01-23 07:07:51 +00:00
Chris Lattner 4bfe10dab1 add new tests
llvm-svn: 25529
2006-01-23 06:24:17 +00:00
Chris Lattner fdcc0d99cd Make sure this tests the right thing, xfail on solaris, which doesn't have floorf
llvm-svn: 25524
2006-01-23 05:56:34 +00:00
Chris Lattner 48021ed4d4 new testcase that crashes llc for ppc
llvm-svn: 25495
2006-01-21 04:25:07 +00:00
Reid Spencer 855d31f847 Add a test case for PR697, ensuring the linker works with ConstantPacked.
llvm-svn: 25475
2006-01-20 01:31:58 +00:00
Evan Cheng 9a4ab9660f Added a load folding bug test case.
llvm-svn: 25472
2006-01-20 01:12:23 +00:00
Chris Lattner ef25927f4f Add a new testcase for an eliminable cast
llvm-svn: 25451
2006-01-19 07:39:20 +00:00
Reid Spencer 9ce6f39ccb This test passes now.
llvm-svn: 25449
2006-01-19 07:15:47 +00:00
Chris Lattner 800ad5287c make this work for Reid, who renamed his CVS module dir :)
llvm-svn: 25443
2006-01-19 06:49:46 +00:00
Chris Lattner 76a08b2f18 new testcase the autoupgrader in the bc reader fails to handle
llvm-svn: 25442
2006-01-19 06:15:34 +00:00
Reid Spencer e64af05eed Expand test to cover the non-overloaded variants of the arithmetic and
floating point intrinsics.

llvm-svn: 25431
2006-01-19 01:17:06 +00:00
Andrew Lenharth 88f3d3f893 a reduced test case, the GlobalAddress is never legalized
llvm-svn: 25427
2006-01-18 22:59:33 +00:00
Chris Lattner 48e653ea88 new testcase
llvm-svn: 25420
2006-01-18 19:16:07 +00:00
Chris Lattner 4d148f2ece this testcase sent the dag combiner spinning into an infinite loop
llvm-svn: 25418
2006-01-18 19:13:11 +00:00
Robert Bocchino 1763a44ac2 Test case for the insertelement operation.
llvm-svn: 25409
2006-01-17 20:07:30 +00:00
Chris Lattner 514a8f89d0 Ensure that the CFE always emits intrinsics in their unsigned version, not with signed operands
llvm-svn: 25390
2006-01-17 06:24:01 +00:00
Andrew Lenharth 4aa90b347f this is fixed
llvm-svn: 25370
2006-01-16 21:22:42 +00:00
Chris Lattner 45496f0beb Fix these testcases :(
Apparently Andrew hasn't implemented ReadCycleCounter in the new isel and
renamed ornot to eqv

llvm-svn: 25360
2006-01-16 16:34:39 +00:00
Chris Lattner fe5cb66e9d This pass has been removed.
llvm-svn: 25350
2006-01-16 01:06:43 +00:00
Chris Lattner 7eb2947546 New testcase for a regression last night: the -inline pass wasn't updating
callgraph to include new edges do to inserted llvm.stacksave/llvm.stackrestore
calls.

llvm-svn: 25319
2006-01-14 20:07:07 +00:00
Nate Begeman 2fba8a3aaa bswap implementation
llvm-svn: 25312
2006-01-14 03:14:10 +00:00
Nate Begeman 82049eba2c Add bswap intrinsics as documented in the Language Reference
llvm-svn: 25309
2006-01-14 01:25:24 +00:00
Jim Laskey 2d7162aaf4 testcase for PR676: http://llvm.cs.uiuc.edu/PR676
llvm-svn: 25306
2006-01-14 00:29:48 +00:00
Chris Lattner 403a11ca8f testcase for PR691
llvm-svn: 25298
2006-01-13 22:05:36 +00:00
Chris Lattner db8c13acf3 new testcases for the stackrestore instcombine optimizations
llvm-svn: 25297
2006-01-13 22:01:47 +00:00
Chris Lattner accc5bfe92 New testcase that functions with dynamic allocas can be inlined, and are
inlined correctly.

llvm-svn: 25287
2006-01-13 19:35:05 +00:00
Chris Lattner 00720d8ff0 testcase for the llvm.stacksave/llvm.stackrestore intrinsics.
llvm-svn: 25269
2006-01-13 02:25:08 +00:00
Evan Cheng 6d47166964 Test case for a SETCC / BRCOND folding bug.
llvm-svn: 25258
2006-01-13 01:02:22 +00:00
Duraid Madina dd8168d7be verily, sabre did leave
and yea! Saem said "ARRR."

meanwhile, the pinksias and the campfires and the ET forests glowed.

llvm-svn: 25240
2006-01-12 02:50:34 +00:00
Nate Begeman c040152f94 Add testcase for rotate by register and rotate by immediate
llvm-svn: 25228
2006-01-11 22:58:12 +00:00
Chris Lattner ed23fdd9cf Testcase the PPC backend is miscompiling.
llvm-svn: 25216
2006-01-11 18:15:37 +00:00
Chris Lattner 7e60169a64 catch all forms of xnor
llvm-svn: 25208
2006-01-11 07:13:22 +00:00
Chris Lattner 13d1474d43 new testcase for extractelement instruction
llvm-svn: 25186
2006-01-10 20:00:20 +00:00
Chris Lattner 6084664580 Modify this test to not depend on the host math.h implementation
llvm-svn: 25138
2006-01-07 01:37:25 +00:00
Chris Lattner 60d3002606 A case that instcombine is not catching.
llvm-svn: 25127
2006-01-06 07:48:28 +00:00
Chris Lattner b844284a05 new tests, derived from cosmics scheme output
llvm-svn: 25111
2006-01-05 07:46:46 +00:00
Andrew Lenharth 0e5ba1d1fe Change this regression so andi is not a valid codegen of it
llvm-svn: 25056
2006-01-01 22:14:31 +00:00
Chris Lattner 4621dc8861 this test fails
llvm-svn: 24994
2005-12-23 16:14:29 +00:00
Chris Lattner e519f065cc this test is malformed
llvm-svn: 24993
2005-12-23 16:13:52 +00:00
Reid Spencer 8f8124edaa Fix PR409:
Implement the suggested check to ensure that out-of-range float constants
don't get accepted by LLVM accidentally. Adjust the supporting test cases
as well.

llvm-svn: 24963
2005-12-22 21:07:29 +00:00
Chris Lattner e5cdb4e6f2 new testcase
llvm-svn: 24902
2005-12-21 17:52:42 +00:00
Chris Lattner c6b578da26 new testcase, fails on X86 and probably others
llvm-svn: 24894
2005-12-21 05:09:57 +00:00
Chris Lattner 0d129ae8b1 A truly trivial testcase to ensure sparcv8 doesn't get completely broken
again.

llvm-svn: 24737
2005-12-16 06:24:55 +00:00
Nate Begeman 7853983b40 Add a case for float just to make sure the patterns for both precisions
are matching

llvm-svn: 24718
2005-12-14 22:51:13 +00:00
Chris Lattner eaee560c96 new testcase, each function should have one extension instr in it
llvm-svn: 24711
2005-12-14 19:24:08 +00:00
Chris Lattner f69abd13d4 new (undefined) testcase, distilled from 126.gcc that scalarrepl crashes on
llvm-svn: 24707
2005-12-14 17:23:20 +00:00
Chris Lattner 1b668bc808 Testcase for a problem that reid ran into
llvm-svn: 24676
2005-12-12 22:27:22 +00:00
Chris Lattner cf510b36c1 new testcase: sra should be able to eliminate all of these alloca's, despite
the presense of pointer casts

llvm-svn: 24666
2005-12-12 07:18:59 +00:00
Chris Lattner 98dcd12c28 new testcase for PR662
llvm-svn: 24618
2005-12-06 17:29:54 +00:00
Chris Lattner b0e9741022 New testcase for PR660
llvm-svn: 24601
2005-12-05 04:48:12 +00:00
Chris Lattner 7b43664aa0 testcase for PR664
llvm-svn: 24600
2005-12-05 03:22:46 +00:00
Chris Lattner 394350dcca new testcase, for PR672
llvm-svn: 24584
2005-12-04 06:03:25 +00:00
Chris Lattner 3339c6a1f6 expand testcase, which has been in my tree for a while now
llvm-svn: 24582
2005-12-03 18:26:41 +00:00
Chris Lattner 2492b74330 new testcase, miscompiled by simplifycfg. This has been distilled from Ptrdist/bc
llvm-svn: 24580
2005-12-03 18:25:32 +00:00
Chris Lattner bd23d34be0 Fix a bug in the testcase
llvm-svn: 24579
2005-12-03 17:20:57 +00:00
Chris Lattner 5d7a0a3aee new testcase for PR672
llvm-svn: 24577
2005-12-03 07:14:47 +00:00
Chris Lattner e4ffb9a57d New testcase that crashes llc
llvm-svn: 24570
2005-12-01 23:14:09 +00:00
Chris Lattner bd065599e6 Test that crashes the ppc backend.
llvm-svn: 24546
2005-11-30 20:40:28 +00:00
Chris Lattner 6299905a06 new testcase dse is miscompiling
llvm-svn: 24544
2005-11-30 19:37:08 +00:00
Chris Lattner 7cc680ab79 new testcase for pr670
llvm-svn: 24507
2005-11-29 01:06:51 +00:00
Chris Lattner cde2a174a7 This should not be dce'd
llvm-svn: 24433
2005-11-20 21:46:52 +00:00
Andrew Lenharth 4db9ae7aa3 oops
llvm-svn: 24432
2005-11-20 21:42:49 +00:00
Andrew Lenharth c943f6bfae check that rdtsc is generated from readcyclecounter
llvm-svn: 24431
2005-11-20 21:41:59 +00:00
Chris Lattner 26904c7ac9 testcase for recent indvars patches
llvm-svn: 24415
2005-11-18 19:38:15 +00:00
Chris Lattner b1ded32f3b This passes on ppc and x86 now
llvm-svn: 24378
2005-11-16 07:24:31 +00:00
Chris Lattner b04c88cf05 this is no apparently passing on alpha
llvm-svn: 24331
2005-11-12 18:35:13 +00:00
Chris Lattner d6f99000e6 new testcase
llvm-svn: 24310
2005-11-12 00:10:02 +00:00
Andrew Lenharth 01aa56397d continued readcyclecounter support
llvm-svn: 24300
2005-11-11 16:47:30 +00:00
Chris Lattner b8e8cbec50 Check that this compiles to a label with a space in it.
llvm-svn: 24284
2005-11-10 19:33:04 +00:00
John Criswell 3bdbd3024b Merged from RELEASE_16.
llvm-svn: 24243
2005-11-08 21:11:33 +00:00
Chris Lattner cc99ec2a14 add alignment info for globals and functions
llvm-svn: 24213
2005-11-06 06:52:11 +00:00
Chris Lattner 6ce0ad3f74 new testcase
llvm-svn: 24202
2005-11-05 22:07:30 +00:00
Chris Lattner 7a4c694ef7 New testcase
llvm-svn: 24191
2005-11-05 08:20:28 +00:00
Andrew Lenharth 8426ee14be This is missed by InstCombine, patch comming
llvm-svn: 24157
2005-11-02 18:34:05 +00:00
Chris Lattner b7147f6027 Apparently these do pass on some alphas
llvm-svn: 24125
2005-10-31 19:06:13 +00:00
Chris Lattner 14ada0fd4e these tests fail on alpha for some reason
llvm-svn: 24120
2005-10-31 16:15:49 +00:00
Chris Lattner 6beef90324 new testcase
llvm-svn: 24112
2005-10-30 19:42:18 +00:00
Chris Lattner 48131a8254 The pass was removed, but the spirit lives on
llvm-svn: 24108
2005-10-30 07:22:15 +00:00
Chris Lattner 9cc9f0fca1 new testcase
llvm-svn: 24103
2005-10-30 06:37:33 +00:00
Chris Lattner 67315dc888 new testcase
llvm-svn: 24099
2005-10-30 05:14:02 +00:00
Duraid Madina e71426f581 test for the formation of shladd
llvm-svn: 24077
2005-10-29 04:06:49 +00:00
Chris Lattner e2fb63ea95 add the xfail lines
llvm-svn: 24066
2005-10-28 19:57:55 +00:00
Chris Lattner 225022e4b0 New testcase. Probably many targets don't support this, so they should probably
add themselves as xfails until they do (at least for the release).

llvm-svn: 24065
2005-10-28 19:52:02 +00:00
Nate Begeman b2f9801555 Add a regression test for the recent fix for FP_TO_UINT lowering in the ppc
backend.

llvm-svn: 23995
2005-10-25 23:53:21 +00:00
Chris Lattner b8709e3c25 This pass is gone
llvm-svn: 23955
2005-10-24 04:18:05 +00:00
Chris Lattner 629481c8e0 this pass is gone
llvm-svn: 23954
2005-10-24 04:17:31 +00:00
Chris Lattner 68b61a8c8f New testcase that crashes the ppc backend
llvm-svn: 23871
2005-10-21 21:09:13 +00:00
John Criswell b2544ff7a7 Moved to Regression/Codegen/Generic.
llvm-svn: 23829
2005-10-19 18:52:52 +00:00
John Criswell 14582b1a73 This is a generic test for all code generators. It originally came from
Regression/Codegen/X86.

llvm-svn: 23826
2005-10-19 18:51:07 +00:00
John Criswell 6b7df0ef4e Force i386 code generation for an i386 specific test.
llvm-svn: 23821
2005-10-19 18:30:39 +00:00
Chris Lattner 38d7f2be4c Testcase that crashes llvmgcc in type layout
llvm-svn: 23806
2005-10-19 00:52:21 +00:00
Chris Lattner 84b36df7e9 new testcase
llvm-svn: 23798
2005-10-18 22:13:39 +00:00
John Criswell d122b68735 Use %s instead of hard coding the input filename.
This allows the test to work when srcdir != objdir.

llvm-svn: 23775
2005-10-17 21:54:18 +00:00
Chris Lattner eeaf2094b8 Nate implemented this :)
llvm-svn: 23707
2005-10-13 06:04:34 +00:00
Chris Lattner e1832ccf63 this passes with the change in predicate
llvm-svn: 23699
2005-10-11 18:42:26 +00:00
Chris Lattner eb1579d308 lsr doesn't emit gep instructions anymore
llvm-svn: 23696
2005-10-11 18:28:48 +00:00
Chris Lattner 89a39f1508 new testcase
llvm-svn: 23689
2005-10-10 21:57:37 +00:00
Chris Lattner 4653985b86 A testcase sitting in my tree
llvm-svn: 23687
2005-10-10 21:21:36 +00:00
Chris Lattner 905c752559 Testcase that is miscompiled by the ppc backend
llvm-svn: 23669
2005-10-09 05:31:47 +00:00
Chris Lattner db5d47e4dd These don't need to be sdivs.
llvm-svn: 23661
2005-10-07 15:27:12 +00:00
Chris Lattner 437b9aa632 New testcase, should turn into a ushr
llvm-svn: 23658
2005-10-07 06:10:03 +00:00
Chris Lattner bb6211bbe8 double to float casts should nto result in an fmr
llvm-svn: 23653
2005-10-07 04:59:41 +00:00
Chris Lattner 684e6cac7a test broken in the IA64 backend.
llvm-svn: 23651
2005-10-07 04:49:00 +00:00
Chris Lattner a6e98f2e85 new testcase for PR635
llvm-svn: 23615
2005-10-03 23:42:54 +00:00
Andrew Lenharth 5b8bd94ab2 more specific tests of subtarget stuff
llvm-svn: 23570
2005-09-30 20:30:24 +00:00
Chris Lattner 41815f2aa2 Add a test that you can forward ref a class.
llvm-svn: 23547
2005-09-30 04:52:43 +00:00
Chris Lattner 08321aa8cb Check that we can refer to the same class we are defining.
llvm-svn: 23541
2005-09-30 04:10:17 +00:00
Chris Lattner 5de939e791 new testcase for isascii
llvm-svn: 23520
2005-09-29 06:16:37 +00:00
Chris Lattner e94e6a9e62 add a new testcase
llvm-svn: 23518
2005-09-29 06:11:34 +00:00