Chris Lattner
4ded20b380
New testcase
...
llvm-svn: 6882
2003-06-24 20:29:36 +00:00
Chris Lattner
f7544873de
Fix bug: TailDup/2003-06-24-Simpleloop.ll
...
llvm-svn: 6881
2003-06-24 19:48:06 +00:00
Chris Lattner
17b4e96e7e
Testcase reduced by bugpoint
...
llvm-svn: 6880
2003-06-24 19:17:37 +00:00
Chris Lattner
d410284dd2
Run the tail dup tests
...
llvm-svn: 6879
2003-06-24 18:49:51 +00:00
Joel Stanley
d1e35d03b3
Prevented inclusion of (non-existent) stdint.h on Sparc.
...
llvm-svn: 6876
2003-06-24 02:46:47 +00:00
Chris Lattner
55d4bda861
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
eea63a519a
Fix comment
...
llvm-svn: 6872
2003-06-23 21:52:59 +00:00
Chris Lattner
b501ef80ff
Yet another testcase
...
llvm-svn: 6871
2003-06-23 21:49:25 +00:00
Chris Lattner
4bc0c4b974
Test cases for when casts to bool can be eliminated
...
llvm-svn: 6870
2003-06-23 21:48:26 +00:00
Brian Gaeke
04bdfe624c
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
226563f7b9
New test case for C Writer regression found in 256.bzip2
...
llvm-svn: 6868
2003-06-23 19:59:17 +00:00
Brian Gaeke
bf4cc5e735
Allow .llx testcases (i.e., those that contain explicit RUN: stmts.)
...
llvm-svn: 6867
2003-06-23 19:58:50 +00:00
Brian Gaeke
fcd72643fa
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
4c9cd8262a
Add support for GCC 3.3
...
llvm-svn: 6865
2003-06-23 19:16:20 +00:00
Chris Lattner
42d3570b92
New testcase for a GCC bug
...
llvm-svn: 6863
2003-06-23 18:06:21 +00:00
Chris Lattner
bf2c46254a
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
50b1d41ad4
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
0c78f3fb14
New testcase narrowed down by Joel
...
llvm-svn: 6858
2003-06-22 21:40:38 +00:00
Chris Lattner
22ced56476
Fix bug: InstCombine/2003-06-22-ConstantExprCrash.ll
...
llvm-svn: 6857
2003-06-22 20:48:30 +00:00
Chris Lattner
92963de6fa
Add paranoia checking
...
llvm-svn: 6856
2003-06-22 20:46:00 +00:00
Chris Lattner
3a8622527c
New testcase
...
llvm-svn: 6855
2003-06-22 20:45:39 +00:00
Chris Lattner
ef47a506a1
New testcases
...
llvm-svn: 6854
2003-06-22 20:32:35 +00:00
Chris Lattner
c6fcd9338c
Initial checkin
...
llvm-svn: 6853
2003-06-22 20:30:00 +00:00
Chris Lattner
268c1392da
Test change
...
llvm-svn: 6852
2003-06-22 20:25:27 +00:00
Chris Lattner
e81e0d8da9
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
decc3639c1
Add prototype for tail-dup pass
...
llvm-svn: 6847
2003-06-22 20:10:42 +00:00
Chris Lattner
a5434caa5c
Initial checkin of Tail duplication pass.
...
llvm-svn: 6846
2003-06-22 20:10:28 +00:00
Chris Lattner
53b843fc04
Do not use the inefficient, fixed function, CBW, CDQ, ... instructions
...
llvm-svn: 6844
2003-06-22 03:31:18 +00:00
Chris Lattner
bd3837b1b2
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
52de05c6b3
Remove a ton of extraneous #includes
...
llvm-svn: 6842
2003-06-22 03:08:05 +00:00
Chris Lattner
c7031d0244
Whoops, accidentally lost a #include
...
llvm-svn: 6841
2003-06-22 03:04:58 +00:00
Chris Lattner
d791d8e427
Remove support for the MultiObject flag, which was fundamentally broken
...
llvm-svn: 6840
2003-06-22 03:03:52 +00:00
Chris Lattner
09ede5c936
Remove support for the MultiObject flag, which was just fundamentally broken
...
llvm-svn: 6839
2003-06-22 03:03:24 +00:00
Chris Lattner
d0d51605b2
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
a103d76cbe
Add testcase for reason that typesafety of power is being broken
...
llvm-svn: 6836
2003-06-21 22:59:39 +00:00
Chris Lattner
364e631d49
Clarify that variables must be global
...
llvm-svn: 6835
2003-06-21 21:45:56 +00:00
Chris Lattner
812110e81f
update documentation about columns
...
llvm-svn: 6833
2003-06-21 20:09:01 +00:00
Chris Lattner
6e1ec2394f
Minor simplification to 64-bit instsel
...
llvm-svn: 6831
2003-06-21 18:15:27 +00:00
Chris Lattner
22f54501be
For 16 and 32-bit multiplies, use the IMUL instruction instead of the MUL instruction.
...
This allows us to not force the use of the EAX/AX registers!
llvm-svn: 6830
2003-06-21 17:16:58 +00:00
Chris Lattner
2a67e0cf02
Add IMULr16 & IMULr32 instructions
...
llvm-svn: 6829
2003-06-21 17:13:35 +00:00
Chris Lattner
df1230ecf2
Generate code for LONG indexes to getelementptr instructions more efficiently
...
llvm-svn: 6828
2003-06-21 16:01:24 +00:00
Chris Lattner
9cb6b02dc9
Some preprocessors doen't support // comments and get confused
...
llvm-svn: 6821
2003-06-20 23:14:50 +00:00
Chris Lattner
33993642f6
Remove obsolete support for LD_LIBRARY_PATH
...
llvm-svn: 6815
2003-06-20 23:01:23 +00:00
John Criswell
79915272fd
Updated to the new Makefile.common.
...
llvm-svn: 6814
2003-06-20 21:37:31 +00:00
John Criswell
d9b7c5f430
Reverted back to revision 1.91.
...
llvm-svn: 6812
2003-06-20 21:24:54 +00:00
John Criswell
ef1c153975
Added a hack that takes the path relative to the home directory into account
...
if a home directory is provided by the environment.
llvm-svn: 6805
2003-06-20 18:35:39 +00:00
John Criswell
fdad6ce774
The modifications to LD_LIBRARY_PATH now add the specified paths to the
...
beginning of LD_LIBRARY_PATH as opposed to simply replacing it.
This allows users to use LD_LIBRARY_PATH when running tests (useful for
when they have installed their own version of GCC).
llvm-svn: 6800
2003-06-20 16:14:49 +00:00
Chris Lattner
67e0842581
Minor cleanups
...
llvm-svn: 6799
2003-06-20 15:49:04 +00:00
Chris Lattner
f6791e5458
Fix problem building optmized build
...
llvm-svn: 6798
2003-06-20 15:41:57 +00:00
Chris Lattner
0024dff76f
Fix the build. :(
...
llvm-svn: 6797
2003-06-20 14:36:52 +00:00