Reid Spencer
f29754c7b9
Add a test case for testing basic IR features via llvm2cpp. This helps find
...
bit rot in llvm2cpp and also tests the LLVM C++ IR in ways that llvm-as
doesn't.
llvm-svn: 35917
2007-04-11 19:54:37 +00:00
Reid Spencer
669c7e58b0
Make sure upgrade doesn't fail on this.
...
llvm-svn: 35916
2007-04-11 19:36:27 +00:00
Reid Spencer
60012ded54
Update the way llvm2cpp tests are done:
...
1. Make sure bytecode/assembly inputs are always redirected stdin so that
the module name is <stdin>. This helps not get false negatives when the
diff is done.
2. Scan the test file to determine if llvm-upgrade needs to be run.
3. Avoid running testings that are XFAIL'd because they'll cause a failure
when run for llvm2cpp.
4. Get some better error message output.
llvm-svn: 35914
2007-04-11 17:56:23 +00:00
Reid Spencer
7a311b86e1
Upgrade this file completely instead of downgrading it. Make sure that
...
false positives aren't made.
llvm-svn: 35913
2007-04-11 17:51:03 +00:00
Chris Lattner
2feb7abbd5
this got better
...
llvm-svn: 35908
2007-04-11 16:12:27 +00:00
Chris Lattner
45ae13bb41
adjust test
...
llvm-svn: 35907
2007-04-11 16:04:04 +00:00
Chris Lattner
7345e56885
change test name.
...
llvm-svn: 35904
2007-04-11 15:24:04 +00:00
Reid Spencer
f4fd92907e
Make sure this test uses llvm-upgrade.
...
Don't allow false positives.
llvm-svn: 35900
2007-04-11 12:46:06 +00:00
Reid Spencer
e165d7c3d7
Fix to not give false positives.
...
llvm-svn: 35895
2007-04-11 12:04:33 +00:00
Chris Lattner
81f14c63da
sext of compares.
...
llvm-svn: 35892
2007-04-11 06:57:54 +00:00
Chris Lattner
764ec15b3f
new testcase
...
llvm-svn: 35889
2007-04-11 06:52:24 +00:00
Chris Lattner
05362ffdce
new testcase
...
llvm-svn: 35882
2007-04-11 05:32:13 +00:00
Chris Lattner
9f780e339e
new testcases for integer abs function
...
llvm-svn: 35880
2007-04-11 05:02:57 +00:00
Devang Patel
6d474cd37c
New test case.
...
llvm-svn: 35868
2007-04-10 21:43:01 +00:00
Devang Patel
d284fd1145
Add test case for PR 1154.
...
llvm-svn: 35865
2007-04-10 16:57:08 +00:00
Chris Lattner
ec0020433b
new testcase
...
llvm-svn: 35851
2007-04-09 23:51:49 +00:00
Devang Patel
4ccfdd7465
Add check for opt crash.
...
llvm-svn: 35849
2007-04-09 23:40:15 +00:00
Devang Patel
5391501f05
Add Loop Rotate test cases.
...
llvm-svn: 35838
2007-04-09 22:22:42 +00:00
Anton Korobeynikov
506eaf7915
Next stage into switch lowering refactoring
...
1. Fix some bugs in the jump table lowering threshold
2. Implement much better metric for optimal pivot selection
3. Tune thresholds for different lowering methods
4. Implement shift-and trick for lowering small (<machine word
length) cases with few destinations. Good testcase will follow.
llvm-svn: 35816
2007-04-09 12:31:58 +00:00
Chris Lattner
ea1369275b
add another test
...
llvm-svn: 35801
2007-04-09 05:26:48 +00:00
Chris Lattner
8a06ca02d8
The x constraint allows scalar FP values as well as vectors.
...
llvm-svn: 35798
2007-04-09 05:11:03 +00:00
Chris Lattner
e04c652f5d
new testcase for PR1304
...
llvm-svn: 35791
2007-04-09 01:37:35 +00:00
Chris Lattner
418bf4eb1c
new testcase for PR1286
...
llvm-svn: 35787
2007-04-09 01:10:13 +00:00
Chris Lattner
e505615531
new testcase for PR1308
...
llvm-svn: 35784
2007-04-09 00:45:42 +00:00
Chris Lattner
d733c17fce
testcase for PR1314
...
llvm-svn: 35778
2007-04-08 22:22:53 +00:00
Nick Lewycky
ecff285e49
Fix this testcase to fail if the bug were reintroduced.
...
llvm-svn: 35776
2007-04-08 21:49:13 +00:00
Owen Anderson
fe507270ac
Remove DomSet completely. This concludes work on PR1171.
...
llvm-svn: 35775
2007-04-08 21:30:05 +00:00
Chris Lattner
659ff4ca8d
this xform is correct, not an xfail
...
llvm-svn: 35766
2007-04-08 08:02:39 +00:00
Chris Lattner
92e2de78dd
make xfail info more nice
...
llvm-svn: 35764
2007-04-08 07:58:41 +00:00
Chris Lattner
b79728b1ae
tweak this to test the right thing.
...
llvm-svn: 35762
2007-04-08 07:52:40 +00:00
Chris Lattner
ef09cea4fb
testrunner should print out xfail info.
...
llvm-svn: 35761
2007-04-08 07:49:19 +00:00
Chris Lattner
8ca3d48984
new testcase, should simplify down to a xor/and/xor sequence.
...
llvm-svn: 35759
2007-04-08 07:45:36 +00:00
Chris Lattner
5106a68bfc
these test a pass that no longer exists.
...
llvm-svn: 35750
2007-04-07 20:25:30 +00:00
Chris Lattner
35aa06eb6a
xfail these until owen can figure out the right fix
...
llvm-svn: 35748
2007-04-07 20:00:36 +00:00
Chris Lattner
3dc477d5e3
testcase for PR1307
...
llvm-svn: 35705
2007-04-06 23:36:59 +00:00
Chris Lattner
992b451e33
new testcase, update old one.
...
llvm-svn: 35699
2007-04-06 18:56:54 +00:00
Reid Spencer
91b273ae39
XFAIL this test for now. It will be a while before I can implement this
...
intrinsic properly in SDISel.
llvm-svn: 35692
2007-04-05 22:57:45 +00:00
Chris Lattner
cf1f986099
new testcase that crashes globalopt
...
llvm-svn: 35688
2007-04-05 21:09:29 +00:00
Dale Johannesen
0a3d673b4a
testcase for padding before zero-length fields.
...
llvm-svn: 35687
2007-04-05 19:05:43 +00:00
Devang Patel
9feae5c4d8
New tests for Packed structs.
...
llvm-svn: 35686
2007-04-05 17:14:21 +00:00
Devang Patel
bc09c71159
New tests for Packed structs.
...
llvm-svn: 35685
2007-04-05 17:07:48 +00:00
Anton Korobeynikov
506d8db8a4
Fix test
...
llvm-svn: 35683
2007-04-05 16:43:09 +00:00
Reid Spencer
cce90f55ed
Implement the llvm.bit.part_select.iN.iN.iN overloaded intrinsic.
...
llvm-svn: 35678
2007-04-04 23:48:25 +00:00
Reid Spencer
9797fee9a1
Ignore some things generated by bugpoint.
...
llvm-svn: 35677
2007-04-04 22:47:38 +00:00
Jeff Cohen
b4470fb0bf
Fix some FreeBSD/amd64 regressions.
...
llvm-svn: 35675
2007-04-04 22:07:44 +00:00
Anton Korobeynikov
029ea7ee74
Fix test
...
llvm-svn: 35673
2007-04-04 21:28:36 +00:00
Anton Korobeynikov
915e61736b
Properly emit range comparisons for switch cases, where neighbour cases
...
go to the same destination. Now we're producing really good code for
switch-lower-feature.ll testcase
llvm-svn: 35672
2007-04-04 21:14:49 +00:00
Jeff Cohen
9da1cde86c
Any add is wrong, regardless of type.
...
llvm-svn: 35671
2007-04-04 20:40:44 +00:00
Jeff Cohen
62c300a415
Get it right...
...
llvm-svn: 35670
2007-04-04 20:35:31 +00:00
Dale Johannesen
9234629e60
Test for transformConstExprCastCall fix.
...
llvm-svn: 35669
2007-04-04 19:18:16 +00:00