Chris Lattner
d4594adf43
new testcase for PR1253
...
llvm-svn: 35611
2007-04-03 01:45:32 +00:00
Chris Lattner
a7152a90d1
fix this testcase so it passes
...
llvm-svn: 35604
2007-04-02 20:46:28 +00:00
Chris Lattner
2d81c6d706
creative way to add one.
...
llvm-svn: 35583
2007-04-02 05:35:08 +00:00
Reid Spencer
e51961b5ba
Fix illegal assembly syntax.
...
llvm-svn: 35581
2007-04-02 03:24:47 +00:00
Reid Spencer
a3bc850712
Add a test case to make sure that constant folding of the bit counting
...
intrinsics works.
llvm-svn: 35577
2007-04-02 01:45:31 +00:00
Reid Spencer
a5f996bd27
Revert the name changes for llvm.bswap to allow (and test) llvm-upgrade of
...
this intrinsic.
llvm-svn: 35566
2007-04-02 00:51:15 +00:00
Reid Spencer
c3d87685ad
For PR1297:
...
Update these test cases to use proper signatures for bswap which is now
and overloaded intrinsic. Its name must be of the form llvm.bswap.i32.i32
since both the parameter and the result or of type "iAny". Also, the
bit counting intrinsics changed to always return i32.
llvm-svn: 35548
2007-04-01 07:36:28 +00:00
Chris Lattner
9729bdd8e3
New testcase
...
llvm-svn: 35535
2007-04-01 05:34:53 +00:00
Reid Spencer
44259a29c0
Remove use of implementation keyword.
...
llvm-svn: 35412
2007-03-28 02:38:26 +00:00
Chris Lattner
4ba1036a34
don't use 'not' when we can use a positive test
...
llvm-svn: 35402
2007-03-28 01:43:43 +00:00
Reid Spencer
90bb12c2e7
new test case for PR1280
...
llvm-svn: 35401
2007-03-28 01:43:35 +00:00
Reid Spencer
94a8cb4b4e
For PR1280:
...
Remove test cases for and/xor/add -> trunc/sext that use bit widths that
the targets cannot code gen.
llvm-svn: 35399
2007-03-28 01:35:28 +00:00
Reid Spencer
e01d0e8c39
Another test case for PR1271 where bad shift masks were generated.
...
llvm-svn: 35372
2007-03-26 23:48:52 +00:00
Reid Spencer
d9fe01c7a4
Fix this test case to match output after a bug was fixed.
...
llvm-svn: 35359
2007-03-26 18:04:38 +00:00
Duncan Sands
820ae03fda
Fix testsuite hang.
...
llvm-svn: 35355
2007-03-26 10:59:13 +00:00
Reid Spencer
0bfa19eb13
Test case for PR1271 involving construction of a bad mask to replace a
...
shift instruction.
llvm-svn: 35349
2007-03-26 05:32:16 +00:00
Reid Spencer
726b0a7fa4
Add a test case for PR1271 (necessary, but not sufficient).
...
llvm-svn: 35343
2007-03-25 21:30:41 +00:00
Chris Lattner
f323838c4c
new testcase
...
llvm-svn: 35340
2007-03-25 20:42:40 +00:00
Reid Spencer
e3d00119e6
Remove the last vestiges of this directory.
...
llvm-svn: 35309
2007-03-24 23:07:49 +00:00
Reid Spencer
562b715dd1
Add more test cases for APIntified InstCombine.
...
llvm-svn: 35288
2007-03-23 21:57:47 +00:00
Reid Spencer
ea8b07ee6b
Add test case for testing InstCombine with arbitrary precision integer
...
types. These tests mimic the integer test cases in the normal InstCombine
test suite but use "strange" integer bit widths.
Most tests written by Zhou Sheng, a few by me.
llvm-svn: 35284
2007-03-23 20:48:34 +00:00
Reid Spencer
02b0b57101
Make this test actually match the generated code.
...
llvm-svn: 35263
2007-03-22 02:53:05 +00:00
Reid Spencer
fa9925e263
Test case for PR1248
...
llvm-svn: 35251
2007-03-22 00:49:40 +00:00
Reid Spencer
09f4eb1098
Make this test a little simpler/faster.
...
llvm-svn: 35193
2007-03-19 23:36:19 +00:00
Reid Spencer
eb0a221186
Add test case for PR1261, currently XFAILed.
...
llvm-svn: 35192
2007-03-19 23:28:16 +00:00
Chris Lattner
1ada0693ab
new testcase
...
llvm-svn: 35144
2007-03-18 22:50:57 +00:00
Chris Lattner
091e75bbde
testcase for PR1244
...
llvm-svn: 35081
2007-03-13 14:25:35 +00:00
Reid Spencer
509acc186e
Add a test case for a particular udiv/select transform.
...
llvm-svn: 34935
2007-03-05 22:51:08 +00:00
Chris Lattner
3a8b0c7607
new testcase
...
llvm-svn: 34918
2007-03-05 00:01:38 +00:00
Chris Lattner
05e93d7f05
new testcase: instcombine should remove all the casts.
...
llvm-svn: 34869
2007-03-03 05:24:06 +00:00
Chris Lattner
c1991789c5
instcombine doesn't do CSE, simplify unrelated detail
...
llvm-svn: 34867
2007-03-03 02:27:02 +00:00
Chris Lattner
3fec2056a4
testcase for pr1217
...
llvm-svn: 34545
2007-02-24 01:03:11 +00:00
Chris Lattner
83908e664f
fix this testcase
...
llvm-svn: 34530
2007-02-23 19:39:24 +00:00
Andrew Lenharth
f7a5332b53
missed cast elimination
...
llvm-svn: 34490
2007-02-22 15:17:45 +00:00
Chris Lattner
682918f99b
update to new t-d strings.
...
llvm-svn: 34290
2007-02-15 00:54:16 +00:00
Andrew Lenharth
15a3af28d7
This really only affects pointers in high memory, and only llvm 1.9, but make a regression for it anyway
...
llvm-svn: 34014
2007-02-07 22:23:47 +00:00
Reid Spencer
cb4d3f2902
Prepare for PR411
...
llvm-svn: 33865
2007-02-04 02:11:13 +00:00
Reid Spencer
2341c22ec7
Changes to support making the shift instructions be true BinaryOperators.
...
This feature is needed in order to support shifts of more than 255 bits
on large integer types. This changes the syntax for llvm assembly to
make shl, ashr and lshr instructions look like a binary operator:
shl i32 %X, 1
instead of
shl i32 %X, i8 1
Additionally, this should help a few passes perform additional optimizations.
llvm-svn: 33776
2007-02-02 02:16:23 +00:00
Chris Lattner
9a677c585c
new testcase for serious code pessimization
...
llvm-svn: 33770
2007-02-01 22:29:26 +00:00
Reid Spencer
af6a408117
For PR411:
...
Update these tests to not use the same name even though the type of the
value differs. After PR411 hits, type planes will be gone and it will be
illegal for a name to be used twice, regardless of type.
llvm-svn: 33660
2007-01-30 16:16:01 +00:00
Chris Lattner
d50698107e
Testcase for an instcombine miscompilation reduced by Anton.
...
llvm-svn: 33590
2007-01-27 23:07:12 +00:00
Reid Spencer
ce380568b5
For PR761:
...
Remove "target endian/pointersize" or add "target datalayout" to make
the test parse properly or set the datalayout because defaults changes.
For PR645:
Make global names use the @ prefix.
For llvm-upgrade changes:
Fix test cases or completely remove use of llvm-upgrade for test cases
that cannot survive the new renaming or upgrade capabilities.
llvm-svn: 33533
2007-01-26 08:25:06 +00:00
Chris Lattner
bb4e2a547f
new testcase that causes instcombine to infinitely loop
...
llvm-svn: 33342
2007-01-18 22:16:03 +00:00
Reid Spencer
83b3d82672
Regression is gone, don't try to find it on clean target.
...
llvm-svn: 33296
2007-01-17 07:59:14 +00:00