Chris Lattner
cbfdf37986
New testcases
...
llvm-svn: 26393
2006-02-27 01:43:02 +00:00
Chris Lattner
bb9a5cbdd7
new test
...
llvm-svn: 21137
2005-04-07 16:41:45 +00:00
Chris Lattner
868d91e84a
New testcase
...
llvm-svn: 17703
2004-11-13 19:49:39 +00:00
Chris Lattner
3355366d3f
New testcase
...
llvm-svn: 16862
2004-10-09 02:50:01 +00:00
Chris Lattner
8d0c024ff3
New testcase
...
llvm-svn: 16768
2004-10-06 15:07:56 +00:00
Chris Lattner
4486506985
New testcase
...
llvm-svn: 14636
2004-07-06 07:00:11 +00:00
Chris Lattner
ca9c4f43bd
Oh right, casts can interfere. Test this too
...
llvm-svn: 12354
2004-03-13 00:11:38 +00:00
Chris Lattner
c9f684b1a0
new testcases
...
llvm-svn: 12352
2004-03-12 23:52:51 +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
563ba88392
Renamed as' =>
llvm-as', dis' =>
llvm-dis', link' =>
llvm-link'.
...
llvm-svn: 8558
2003-09-16 15:29:54 +00:00
Chris Lattner
93e4916c37
Reorganize tests because we no longer cannonicalize X != 0 -> cast X to bool
...
In fact, we plan to eliminate cast to bool entirely.
llvm-svn: 7805
2003-08-13 05:27:57 +00:00
Chris Lattner
59b1ec155a
Remove usage of grep-not script
...
llvm-svn: 6966
2003-06-28 23:32:04 +00:00
Chris Lattner
e2cd2f7591
Convert scripts from using explicit control flow to use the new grep-not script
...
llvm-svn: 6955
2003-06-28 22:44:42 +00:00
Chris Lattner
ca896e1827
Add testcases for negated multiplies
...
llvm-svn: 5739
2003-03-10 23:22:50 +00:00
Chris Lattner
1954ecb19d
Add new testcases
...
llvm-svn: 5591
2003-02-18 19:55:31 +00:00
Chris Lattner
d94a9168ae
Modernize testcases
...
llvm-svn: 5589
2003-02-18 19:43:21 +00:00
Chris Lattner
1759ccff2b
test for a variety of new transformations:
...
* A & ~A == 0
* A / (2^c) == A >> c if unsigned
* 0 / A == 0
* 1.0 * A == A
* A * (2^c) == A << c
* A ^ ~A == -1
* A | ~A == -1
* 0 % X = 0
* A % (2^c) == A & (c-1) if unsigned
* A - (A & B) == A & ~B
* -1 - A == ~A
llvm-svn: 5588
2003-02-18 19:28:47 +00:00
Chris Lattner
cdb6a7e022
These tests should not run -dce pass to cleanup instcombine.
...
If instcombine is making dead instructions, ALL that should be used is -die
llvm-svn: 3221
2002-08-02 19:27:58 +00:00
Chris Lattner
890652c8a2
Fix broken testcase
...
llvm-svn: 2565
2002-05-09 01:28:30 +00:00
Chris Lattner
70dd3548b3
Add two new patterns that instcombine should or does handle
...
llvm-svn: 2563
2002-05-08 23:15:01 +00:00
Chris Lattner
f5ca08da87
Add testcase for -(-A)
...
llvm-svn: 2488
2002-05-06 16:19:16 +00:00
Chris Lattner
4e94e9328e
More testcases I don't want to forget about
...
llvm-svn: 2480
2002-05-06 05:51:26 +00:00