Chris Lattner
c116ede471
Add a testcase for switch instruction induction
...
llvm-svn: 11965
2004-02-28 21:30:39 +00:00
Chris Lattner
178f0f1405
fix a bug in the testcase
...
llvm-svn: 11949
2004-02-28 17:33:21 +00:00
Chris Lattner
1ddddf536a
new testcase for a tblgen bug that alkis ran into
...
llvm-svn: 11947
2004-02-28 16:43:44 +00:00
Chris Lattner
eff5f51807
new testcase for intrinsic folding
...
llvm-svn: 11943
2004-02-28 05:28:42 +00:00
Chris Lattner
b66f42427a
The instruction combining pass removes dead instructions, there is no need
...
to run the die pass after it.
llvm-svn: 11942
2004-02-28 05:26:06 +00:00
Misha Brukman
be74d5f73a
Two testcases for loops: one with outputs, one without.
...
llvm-svn: 11934
2004-02-28 03:20:41 +00:00
Chris Lattner
65d7e5f308
Fix a verifier bug that was preventing us from ripping povray+libpng to pieces.
...
llvm-svn: 11912
2004-02-27 17:26:08 +00:00
Chris Lattner
d58a88b28d
The instcombiner should canonicalize comparisons.
...
llvm-svn: 11899
2004-02-27 06:27:07 +00:00
John Criswell
6192eeb0c5
Fixed test case to actually check for the static declaration.
...
Oops.
llvm-svn: 11886
2004-02-26 22:56:13 +00:00
John Criswell
6fd2e36fd5
Regression tests for PR258 and PR259.
...
2004-02-26-FPNotPrintableConstants.llx ensures that constants used in an
LLVM program are declared static if they are assigned to global variables.
2004-02-26-LinkOnceFunctions.llx ensures that linkonce functions get the
weak attribute.
llvm-svn: 11885
2004-02-26 22:55:11 +00:00
Chris Lattner
fc0912d02a
New testcase
...
llvm-svn: 11851
2004-02-25 23:34:04 +00:00
Brian Gaeke
232483aecc
Note that this test is currently expected to fail.
...
llvm-svn: 11831
2004-02-25 20:34:02 +00:00
Chris Lattner
fe7a92fe7c
New testcase. Switch instructions that go to switch instructions should be
...
merged.
llvm-svn: 11796
2004-02-24 07:21:09 +00:00
Chris Lattner
ae509325d6
The simplifycfg pass should be able to turn stuff like:
...
if (X == 4 || X == 7)
and
if (X != 4 && X != 7)
into switch instructions.
llvm-svn: 11791
2004-02-24 05:34:44 +00:00
Chris Lattner
7eaa535d4d
Test for the other way also
...
llvm-svn: 11767
2004-02-23 20:24:16 +00:00
Chris Lattner
1cc1217121
New testcase
...
llvm-svn: 11766
2004-02-23 20:19:51 +00:00
Chris Lattner
be9082a63d
Add tests for casts that should be eliminated
...
llvm-svn: 11741
2004-02-23 07:16:03 +00:00
Chris Lattner
6ddaa24dd9
Handle the unsigned form as well
...
llvm-svn: 11739
2004-02-23 06:37:33 +00:00
Chris Lattner
fb302df02c
Add a slight variant of test10
...
llvm-svn: 11736
2004-02-23 05:59:52 +00:00
Chris Lattner
d0ffbe1cbe
This multiply can be eliminated
...
llvm-svn: 11733
2004-02-23 05:38:47 +00:00
Chris Lattner
d31caa438a
Add testcase for the casts that are missing in PR249
...
llvm-svn: 11727
2004-02-23 03:21:09 +00:00
Chris Lattner
9c08d09de6
Test that the instruction combiner can fold away a cast in a GEP instruction.
...
This occurs in 164.gzip, as a result of it declaring arrays extern.
llvm-svn: 11701
2004-02-22 05:24:09 +00:00
Chris Lattner
418b3a0f20
new testcase
...
llvm-svn: 11682
2004-02-20 23:05:43 +00:00
Chris Lattner
bc7a60ffe5
New testcase, do not emit a call to __builtin_sqrt, emit a call to sqrt instead!
...
llvm-svn: 11668
2004-02-20 19:08:12 +00:00
Chris Lattner
40a22000e4
PR244: [llvm-gcc] miscompilation when a function is re-declared as static
...
llvm-svn: 11661
2004-02-20 17:32:24 +00:00
Chris Lattner
c8cc3d510a
New testcase for PR245
...
llvm-svn: 11566
2004-02-17 21:58:29 +00:00
Chris Lattner
58d4db3f27
New testcase, details in the comments
...
llvm-svn: 11495
2004-02-16 06:35:19 +00:00
Chris Lattner
e9613be389
A new testcase for a situation that occurs in 181.mcf
...
llvm-svn: 11493
2004-02-16 05:06:36 +00:00
Chris Lattner
98c26a7842
Add a test for the "swap idiom", which LLVM should be able to unravel.
...
llvm-svn: 11491
2004-02-16 03:53:44 +00:00
Chris Lattner
5c063c9348
Test for xor chains
...
llvm-svn: 11489
2004-02-16 01:19:52 +00:00
Chris Lattner
83a0044077
Moving CBE tests to test/Regression/CodeGen/CBackend
...
llvm-svn: 11486
2004-02-15 22:56:30 +00:00
Chris Lattner
5c49d123ad
New testcase
...
llvm-svn: 11480
2004-02-15 22:14:46 +00:00
Chris Lattner
0836c10052
Testcase for PR205: [llvmgcc] C front-end does not emit 'zeroinitializer' when possible
...
llvm-svn: 11461
2004-02-15 02:19:08 +00:00
Chris Lattner
3e86e1b0f7
Test for actual support, not just for lack of crashage
...
llvm-svn: 11460
2004-02-15 01:21:39 +00:00
Chris Lattner
f070437543
New testcase for PR237: [x86] wierd stack/frame pointer manipulation
...
llvm-svn: 11456
2004-02-15 00:21:04 +00:00
Chris Lattner
2c0d1265dc
new testcase for llvm.memset generation
...
llvm-svn: 11440
2004-02-14 04:26:15 +00:00
Chris Lattner
451f1bca6f
Testcase for builtin frame/return address
...
llvm-svn: 11436
2004-02-14 04:06:48 +00:00
Chris Lattner
cd947e4b8b
Test that the CFE compiles memset and bzero to llvm.memset
...
llvm-svn: 11435
2004-02-14 03:46:37 +00:00
Chris Lattner
cf81fc70a4
Add a testcase for the frameaddress and returnaddress intrinsics.
...
llvm-svn: 11434
2004-02-14 02:55:47 +00:00
Chris Lattner
3c4bc03c8a
Test that the code generator supports these intrinsics
...
llvm-svn: 11432
2004-02-14 02:51:40 +00:00
Chris Lattner
7b65a0008d
Update tests
...
llvm-svn: 11418
2004-02-13 23:33:17 +00:00
Chris Lattner
067b6bb9b2
New testcase. The CFE should not generate illegal LLVM intrinsics, even if
...
the input program is horribly broken (like 126.gcc).
llvm-svn: 11401
2004-02-13 22:04:41 +00:00
Chris Lattner
7eec19cf38
Right, memcpy READS memory too :)
...
llvm-svn: 11373
2004-02-13 16:09:37 +00:00
Chris Lattner
0a49bcb009
New testcase for support for memcpy/memmove
...
llvm-svn: 11372
2004-02-13 16:04:51 +00:00
Chris Lattner
a200310b32
New testcase for PR233: [llvmgcc] Structure copies result in a LOT of code
...
llvm-svn: 11359
2004-02-12 21:06:52 +00:00
Chris Lattner
71957a90b3
Test that we get rep movs when calling memcpy
...
llvm-svn: 11352
2004-02-12 17:53:43 +00:00
Chris Lattner
d5bab7e727
Basic functionality testing.
...
llvm-svn: 11312
2004-02-11 05:00:27 +00:00
Chris Lattner
4379c6b0b7
New feature testcase for simplifycfg.
...
llvm-svn: 11306
2004-02-11 03:35:04 +00:00
Chris Lattner
2711c12f48
Right, define the LPROF variable
...
llvm-svn: 11273
2004-02-10 19:46:14 +00:00
Chris Lattner
a52b206d91
Move this testcase out of /home/vadve/lattner/cvs/llvm/test/Programs/LLVMSource,
...
as it fails.
llvm-svn: 11250
2004-02-09 22:52:25 +00:00