Chris Lattner
ece9d747f2
Add a testcase for switch instruction induction
...
llvm-svn: 11965
2004-02-28 21:30:39 +00:00
Chris Lattner
243e1df469
fix a bug in the testcase
...
llvm-svn: 11949
2004-02-28 17:33:21 +00:00
Chris Lattner
fbca3a0161
new testcase for a tblgen bug that alkis ran into
...
llvm-svn: 11947
2004-02-28 16:43:44 +00:00
Chris Lattner
0cb585f878
new testcase for intrinsic folding
...
llvm-svn: 11943
2004-02-28 05:28:42 +00:00
Chris Lattner
4cb08f39e9
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
26992f4a8c
Two testcases for loops: one with outputs, one without.
...
llvm-svn: 11934
2004-02-28 03:20:41 +00:00
Chris Lattner
c866ad1f00
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
7ecd81c8e7
The instcombiner should canonicalize comparisons.
...
llvm-svn: 11899
2004-02-27 06:27:07 +00:00
John Criswell
e58a4cc26e
Fixed test case to actually check for the static declaration.
...
Oops.
llvm-svn: 11886
2004-02-26 22:56:13 +00:00
John Criswell
d0574b7bd2
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
5f39fa8149
New testcase
...
llvm-svn: 11851
2004-02-25 23:34:04 +00:00
Brian Gaeke
0f7bfb8ef5
Note that this test is currently expected to fail.
...
llvm-svn: 11831
2004-02-25 20:34:02 +00:00
Chris Lattner
d75c0eef9f
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
90da2d674f
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
39c2703ad4
Test for the other way also
...
llvm-svn: 11767
2004-02-23 20:24:16 +00:00
Chris Lattner
745388980f
New testcase
...
llvm-svn: 11766
2004-02-23 20:19:51 +00:00
Chris Lattner
fe1e1787c8
Add tests for casts that should be eliminated
...
llvm-svn: 11741
2004-02-23 07:16:03 +00:00
Chris Lattner
4a306afab5
Handle the unsigned form as well
...
llvm-svn: 11739
2004-02-23 06:37:33 +00:00
Chris Lattner
c4076cb09d
Add a slight variant of test10
...
llvm-svn: 11736
2004-02-23 05:59:52 +00:00
Chris Lattner
ca8a8b6c3a
This multiply can be eliminated
...
llvm-svn: 11733
2004-02-23 05:38:47 +00:00
Chris Lattner
2ec31046bc
Add testcase for the casts that are missing in PR249
...
llvm-svn: 11727
2004-02-23 03:21:09 +00:00
Chris Lattner
6636526f53
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
0be72bef9f
new testcase
...
llvm-svn: 11682
2004-02-20 23:05:43 +00:00
Chris Lattner
23ea81ddfb
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
0d08cf120b
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
911d6bfaa8
New testcase for PR245
...
llvm-svn: 11566
2004-02-17 21:58:29 +00:00
Chris Lattner
034c38dfd7
New testcase, details in the comments
...
llvm-svn: 11495
2004-02-16 06:35:19 +00:00
Chris Lattner
c9df883696
A new testcase for a situation that occurs in 181.mcf
...
llvm-svn: 11493
2004-02-16 05:06:36 +00:00
Chris Lattner
64b01e562c
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
3bef114bbe
Test for xor chains
...
llvm-svn: 11489
2004-02-16 01:19:52 +00:00
Chris Lattner
6b3162eb16
Moving CBE tests to test/Regression/CodeGen/CBackend
...
llvm-svn: 11486
2004-02-15 22:56:30 +00:00
Chris Lattner
5b2d91dda7
New testcase
...
llvm-svn: 11480
2004-02-15 22:14:46 +00:00
Chris Lattner
3c6e99398f
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
7a84c6d9f9
Test for actual support, not just for lack of crashage
...
llvm-svn: 11460
2004-02-15 01:21:39 +00:00
Chris Lattner
402f5ee496
New testcase for PR237: [x86] wierd stack/frame pointer manipulation
...
llvm-svn: 11456
2004-02-15 00:21:04 +00:00
Chris Lattner
5e8b7140fd
new testcase for llvm.memset generation
...
llvm-svn: 11440
2004-02-14 04:26:15 +00:00
Chris Lattner
0f95c3097f
Testcase for builtin frame/return address
...
llvm-svn: 11436
2004-02-14 04:06:48 +00:00
Chris Lattner
92d5901cb8
Test that the CFE compiles memset and bzero to llvm.memset
...
llvm-svn: 11435
2004-02-14 03:46:37 +00:00
Chris Lattner
89f1862671
Add a testcase for the frameaddress and returnaddress intrinsics.
...
llvm-svn: 11434
2004-02-14 02:55:47 +00:00
Chris Lattner
7ab8db4907
Test that the code generator supports these intrinsics
...
llvm-svn: 11432
2004-02-14 02:51:40 +00:00
Chris Lattner
03eb5eb4f7
Update tests
...
llvm-svn: 11418
2004-02-13 23:33:17 +00:00
Chris Lattner
110d7bd802
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
4013ba42ee
Right, memcpy READS memory too :)
...
llvm-svn: 11373
2004-02-13 16:09:37 +00:00
Chris Lattner
3b458d2f65
New testcase for support for memcpy/memmove
...
llvm-svn: 11372
2004-02-13 16:04:51 +00:00
Chris Lattner
978a94db1a
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
4ce80b3f86
Test that we get rep movs when calling memcpy
...
llvm-svn: 11352
2004-02-12 17:53:43 +00:00
Chris Lattner
cc975735af
Basic functionality testing.
...
llvm-svn: 11312
2004-02-11 05:00:27 +00:00
Chris Lattner
f2488237c1
New feature testcase for simplifycfg.
...
llvm-svn: 11306
2004-02-11 03:35:04 +00:00
Chris Lattner
9895fe7540
Right, define the LPROF variable
...
llvm-svn: 11273
2004-02-10 19:46:14 +00:00
Chris Lattner
c3b5bba611
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