Brian Gaeke
|
6c5d67b96f
|
It seems likely that floats would need a cast too, because they are
ordinarily promoted to doubles.
llvm-svn: 6894
|
2003-06-25 03:05:33 +00:00 |
|
Chris Lattner
|
cf3f677de0
|
New testcase
llvm-svn: 6893
|
2003-06-24 23:40:27 +00:00 |
|
Chris Lattner
|
6abc7c65f9
|
Don't print message, remove temp files
llvm-svn: 6892
|
2003-06-24 23:38:09 +00:00 |
|
Chris Lattner
|
2cd94ee470
|
Fix bug: ADCE/2003-06-24-BadSuccessor.ll
llvm-svn: 6891
|
2003-06-24 23:02:45 +00:00 |
|
Chris Lattner
|
b5b462bf61
|
New testcase
llvm-svn: 6890
|
2003-06-24 22:58:05 +00:00 |
|
Chris Lattner
|
ade75cea50
|
Make assertion more descriptive
llvm-svn: 6889
|
2003-06-24 22:20:19 +00:00 |
|
Chris Lattner
|
8e92c2a5be
|
Modernize testcase
llvm-svn: 6888
|
2003-06-24 21:51:03 +00:00 |
|
Chris Lattner
|
aac87d1e58
|
Do not mark ALL terminators live if any instruciton in the block is live. We only
want to mark it live if it is an unconditional branch. This fixes bug:
ADCE/2002-05-28-Crash.ll and makes this pass _much_ more useful.
llvm-svn: 6887
|
2003-06-24 21:49:45 +00:00 |
|
Chris Lattner
|
60bc441d3d
|
modernize testcase
llvm-svn: 6886
|
2003-06-24 21:23:50 +00:00 |
|
Chris Lattner
|
25868ff22b
|
Make sure adce is basically working!
llvm-svn: 6885
|
2003-06-24 21:22:09 +00:00 |
|
Chris Lattner
|
56f2a6b272
|
Modernize testcases
llvm-svn: 6884
|
2003-06-24 21:21:31 +00:00 |
|
Chris Lattner
|
867b7661cb
|
Fix bug: SCCP/2003-06-24-OverdefinedPHIValue.ll
llvm-svn: 6883
|
2003-06-24 20:29:52 +00:00 |
|
Chris Lattner
|
30f1a88e0c
|
New testcase
llvm-svn: 6882
|
2003-06-24 20:29:36 +00:00 |
|
Chris Lattner
|
e1051d9fcf
|
Fix bug: TailDup/2003-06-24-Simpleloop.ll
llvm-svn: 6881
|
2003-06-24 19:48:06 +00:00 |
|
Chris Lattner
|
ec303ed640
|
Testcase reduced by bugpoint
llvm-svn: 6880
|
2003-06-24 19:17:37 +00:00 |
|
Chris Lattner
|
6666a4cc75
|
Run the tail dup tests
llvm-svn: 6879
|
2003-06-24 18:49:51 +00:00 |
|
Joel Stanley
|
81aa4149c0
|
Prevented inclusion of (non-existent) stdint.h on Sparc.
llvm-svn: 6876
|
2003-06-24 02:46:47 +00:00 |
|
Chris Lattner
|
e1f9e715c6
|
Implement new transforms:
Replace (cast (sub A, B) to bool) -> (setne A, B)
Replace (cast (add A, B) to bool) -> (setne A, -B)
llvm-svn: 6873
|
2003-06-23 21:59:52 +00:00 |
|
Chris Lattner
|
51ce44c8a0
|
Fix comment
llvm-svn: 6872
|
2003-06-23 21:52:59 +00:00 |
|
Chris Lattner
|
c6f0c13235
|
Yet another testcase
llvm-svn: 6871
|
2003-06-23 21:49:25 +00:00 |
|
Chris Lattner
|
9dac57f42d
|
Test cases for when casts to bool can be eliminated
llvm-svn: 6870
|
2003-06-23 21:48:26 +00:00 |
|
Brian Gaeke
|
62947dbf9e
|
Fix 2003-06-23-PromotedExprs.llx -- if we are adding two bytes we better
explicitly cast the result to be a byte, or C will gleefully promote it
to int.
llvm-svn: 6869
|
2003-06-23 20:00:51 +00:00 |
|
Brian Gaeke
|
03d0b3ab98
|
New test case for C Writer regression found in 256.bzip2
llvm-svn: 6868
|
2003-06-23 19:59:17 +00:00 |
|
Brian Gaeke
|
7328e5d9ff
|
Allow .llx testcases (i.e., those that contain explicit RUN: stmts.)
llvm-svn: 6867
|
2003-06-23 19:58:50 +00:00 |
|
Brian Gaeke
|
af128adb0a
|
Include <cmath> instead of <math.h>
Remove isnan; it's too unportable to handle cleanly at this point.
llvm-svn: 6866
|
2003-06-23 19:41:55 +00:00 |
|
Chris Lattner
|
afa7d2f7ec
|
Add support for GCC 3.3
llvm-svn: 6865
|
2003-06-23 19:16:20 +00:00 |
|
Chris Lattner
|
4d587773dc
|
New testcase for a GCC bug
llvm-svn: 6863
|
2003-06-23 18:06:21 +00:00 |
|
Chris Lattner
|
1586e054a6
|
avoid dividing by zero when dealing with zero sized types (like [0 x double])
llvm-svn: 6862
|
2003-06-23 17:36:49 +00:00 |
|
Vikram S. Adve
|
d013d87cc4
|
Add the padding needed for variable-size alloca's, which should work now.
llvm-svn: 6859
|
2003-06-23 02:13:57 +00:00 |
|
Chris Lattner
|
74dfa46dfb
|
New testcase narrowed down by Joel
llvm-svn: 6858
|
2003-06-22 21:40:38 +00:00 |
|
Chris Lattner
|
b40f50e3d1
|
Fix bug: InstCombine/2003-06-22-ConstantExprCrash.ll
llvm-svn: 6857
|
2003-06-22 20:48:30 +00:00 |
|
Chris Lattner
|
a98d464fd6
|
Add paranoia checking
llvm-svn: 6856
|
2003-06-22 20:46:00 +00:00 |
|
Chris Lattner
|
08cc123f78
|
New testcase
llvm-svn: 6855
|
2003-06-22 20:45:39 +00:00 |
|
Chris Lattner
|
03149eacab
|
New testcases
llvm-svn: 6854
|
2003-06-22 20:32:35 +00:00 |
|
Chris Lattner
|
03f7588379
|
Initial checkin
llvm-svn: 6853
|
2003-06-22 20:30:00 +00:00 |
|
Chris Lattner
|
99633d8cd2
|
Test change
llvm-svn: 6852
|
2003-06-22 20:25:27 +00:00 |
|
Chris Lattner
|
1eb4533b66
|
Add tail duplication pass to the pipeline, move the verifier pass to the front
Other minor reorganizations
llvm-svn: 6849
|
2003-06-22 20:11:45 +00:00 |
|
Chris Lattner
|
6c260f1c5c
|
Add prototype for tail-dup pass
llvm-svn: 6847
|
2003-06-22 20:10:42 +00:00 |
|
Chris Lattner
|
6d372c7450
|
Initial checkin of Tail duplication pass.
llvm-svn: 6846
|
2003-06-22 20:10:28 +00:00 |
|
Chris Lattner
|
38b7729915
|
Do not use the inefficient, fixed function, CBW, CDQ, ... instructions
llvm-svn: 6844
|
2003-06-22 03:31:18 +00:00 |
|
Chris Lattner
|
3f347a99a0
|
Get rid of WORDSIZE macro which can pollute untold numbers of translation units
llvm-svn: 6843
|
2003-06-22 03:09:10 +00:00 |
|
Chris Lattner
|
6c12776232
|
Remove a ton of extraneous #includes
llvm-svn: 6842
|
2003-06-22 03:08:05 +00:00 |
|
Chris Lattner
|
7a098ad5dc
|
Whoops, accidentally lost a #include
llvm-svn: 6841
|
2003-06-22 03:04:58 +00:00 |
|
Chris Lattner
|
0a0266865a
|
Remove support for the MultiObject flag, which was fundamentally broken
llvm-svn: 6840
|
2003-06-22 03:03:52 +00:00 |
|
Chris Lattner
|
ddfeef3d7a
|
Remove support for the MultiObject flag, which was just fundamentally broken
llvm-svn: 6839
|
2003-06-22 03:03:24 +00:00 |
|
Chris Lattner
|
9a0da3e531
|
Instcombine cast (getelementptr Ptr, 0, 0, 0) to ... into: cast Ptr to ...
This fixes type safety problems in a variety of benchmarks that were confusing
DSA.
llvm-svn: 6837
|
2003-06-21 23:12:02 +00:00 |
|
Chris Lattner
|
b772ce2a37
|
Add testcase for reason that typesafety of power is being broken
llvm-svn: 6836
|
2003-06-21 22:59:39 +00:00 |
|
Chris Lattner
|
d736dd25e8
|
Clarify that variables must be global
llvm-svn: 6835
|
2003-06-21 21:45:56 +00:00 |
|
Chris Lattner
|
09b319aa59
|
update documentation about columns
llvm-svn: 6833
|
2003-06-21 20:09:01 +00:00 |
|
Chris Lattner
|
7fb273d416
|
Minor simplification to 64-bit instsel
llvm-svn: 6831
|
2003-06-21 18:15:27 +00:00 |
|