Reid Spencer
d3ee816c17
Test case for PR1099.
...
llvm-svn: 33033
2007-01-09 06:25:15 +00:00
Chandler Carruth
15719d08cc
Fixing a ">" redirect to be a ">>" redirect, so a sed command doesn't get clobbered.
...
llvm-svn: 33032
2007-01-09 02:38:29 +00:00
Chris Lattner
1b1bb222bd
Add PR number for future reference
...
llvm-svn: 33031
2007-01-09 00:31:52 +00:00
Evan Cheng
232e751988
Fix test case.
...
llvm-svn: 33030
2007-01-09 00:09:34 +00:00
Reid Spencer
a2d9adfa9a
PR1085 is fixed now.
...
llvm-svn: 33029
2007-01-09 00:05:55 +00:00
Evan Cheng
be68c65cf3
Added a test case from PR1075.
...
llvm-svn: 33028
2007-01-08 23:58:27 +00:00
Evan Cheng
0daf445878
Undo xfail now scheduler deficiency has been fixed.
...
llvm-svn: 33027
2007-01-08 23:57:40 +00:00
Evan Cheng
6730f03370
Naming consistency.
...
llvm-svn: 33026
2007-01-08 23:55:53 +00:00
Evan Cheng
961bbd393b
Fix for PR1075: bottom-up register-reduction scheduling actually increases register pressure.
...
- Fixed bugs in sethi-ullman number computation and priority queue comparison
functions.
- Separate code that handles priority computation special cases from SU number computation.
llvm-svn: 33025
2007-01-08 23:50:38 +00:00
Chris Lattner
0199fd6d59
Implement some trivial FP foldings when -enable-unsafe-fp-math is specified.
...
This implements CodeGen/PowerPC/unsafe-math.ll
llvm-svn: 33024
2007-01-08 23:04:05 +00:00
Chris Lattner
8b574a767e
new testcase
...
llvm-svn: 33023
2007-01-08 23:03:19 +00:00
Jim Laskey
3106724a03
Need to handle static declarations properly.
...
llvm-svn: 33022
2007-01-08 22:15:18 +00:00
Jeff Cohen
223004cd12
Unbreak VC++ build.
...
llvm-svn: 33021
2007-01-08 20:17:17 +00:00
Reid Spencer
7254c25fad
Parameter attributes are part of a FunctionType and deserve to be factored
...
into comparisons of two FunctionTypes. Make it so.
llvm-svn: 33020
2007-01-08 19:41:01 +00:00
Reid Spencer
7b6fb56ec0
XFAIL this test until PR1085 mystery is resolved.
...
llvm-svn: 33019
2007-01-08 19:38:58 +00:00
Devang Patel
1c56a638a4
Add PMStack, a Pass Manager stack.
...
Eventually, Top level pass managers will use this to keep track of
active pass managers. Eass pass will also learn how to find appropriate
manager from these managers stack.
llvm-svn: 33018
2007-01-08 19:29:38 +00:00
Devang Patel
73d40ac101
Modules are consumed when they are merged together by Linker.
...
Clear modules vector so that destructure does not try to
delete these modules again. Patch by Chandler Carruth.
llvm-svn: 33017
2007-01-08 18:42:27 +00:00
Andrew Lenharth
0d124b8e00
And asm writing for packed struct initializers
...
llvm-svn: 33016
2007-01-08 18:21:30 +00:00
Andrew Lenharth
e3c5a4cfed
Make packed structs use packed initialiers for consistency
...
llvm-svn: 33015
2007-01-08 18:16:47 +00:00
Andrew Lenharth
25ac8676ca
Packed structs use packed struct initializers
...
llvm-svn: 33014
2007-01-08 18:15:35 +00:00
Chris Lattner
6bff61da4f
testcase for PR1097
...
llvm-svn: 33013
2007-01-08 17:52:29 +00:00
Reid Spencer
8f166b0ef3
Comparison of primitive type sizes should now be done in bits, not bytes.
...
This patch converts getPrimitiveSize to getPrimitiveSizeInBits where it is
appropriate to do so (comparison of integer primitive types).
llvm-svn: 33012
2007-01-08 16:32:00 +00:00
Reid Spencer
bf96e02a54
For PR1097:
...
Enable complex addressing modes on 64-bit platforms involving two induction
variables by keeping a size and scale in 64-bits not 32.
Patch by Dan Gohman.
llvm-svn: 33011
2007-01-08 16:17:51 +00:00
Reid Spencer
c0b86d5dc4
For PR1090:
...
Clean up the definitions of the helper functions per Chris' review
suggestions so they are easier to read.
For PR1091:
Print minimum signed integer values as unsigned so that we get no warnings
from the C compiler about constant ranges and value comparisons.
llvm-svn: 33010
2007-01-08 08:00:00 +00:00
Chris Lattner
db0790c2fd
Fully specify the type of the llvm.va* intrinsics. This helps resolve
...
Pr1093
llvm-svn: 33009
2007-01-08 07:55:15 +00:00
Chris Lattner
e05182cd1e
fix atexit. This is an overcomplex way of calling exit, but it is required,
...
as the jit intercepts exit calls to implement atexit handlers. This
fixes SingleSource/UnitTests/2003-05-14-AtExit
llvm-svn: 33008
2007-01-08 07:36:34 +00:00
Reid Spencer
13cae7c2a7
Fix PR1090:
...
Implemented some llvm_fcmp_{pred} functions at the start of the function bodies
and use them for fcmp instructions and constant expressions. These help
implement the ordered and unordered comparisons necessary for correct exectuion
of these comparisons.
llvm-svn: 33007
2007-01-08 06:58:32 +00:00
Chandler Carruth
b2d4caaaa8
Build libLLVMlto on non-Darwin architectures. Resolves PR1055: http://llvm.org/PR1055
...
llvm-svn: 33006
2007-01-08 06:25:29 +00:00
Reid Spencer
23414c0033
Fix a bug in an assert that would never trigger.
...
llvm-svn: 33005
2007-01-08 05:34:39 +00:00
Chandler Carruth
52b15458d4
Testing commit, and adding an entry to CREDITS.TXT
...
llvm-svn: 33004
2007-01-08 03:10:00 +00:00
Reid Spencer
7928c2fb9c
Convert uses of getPrimitiveSize that should be getPrimitiveSizeInBits.
...
llvm-svn: 33003
2007-01-08 01:26:33 +00:00
Reid Spencer
4ef2c1c705
llvm.isunordered.* are gone.
...
llvm-svn: 33002
2007-01-07 23:30:23 +00:00
Reid Spencer
4f98e62831
Types should be const.
...
llvm-svn: 33001
2007-01-07 21:45:41 +00:00
Reid Spencer
968a5290f3
Redefinition of functions is no longer permitted.
...
llvm-svn: 33000
2007-01-07 19:33:49 +00:00
Chris Lattner
47d012e1c0
the old trace values pass has been removed, remove its runtime library.
...
llvm-svn: 32999
2007-01-07 18:13:48 +00:00
Chris Lattner
950d0e9926
this pass is unused
...
llvm-svn: 32998
2007-01-07 18:12:43 +00:00
Chris Lattner
9416cba610
remove an old instrumentation pass that is not used anymore.
...
llvm-svn: 32997
2007-01-07 18:12:13 +00:00
Chris Lattner
65842fe4cd
llvm.isunordered is no longer alive.
...
llvm-svn: 32995
2007-01-07 08:53:26 +00:00
Chris Lattner
2a116abf3a
llvm 2.0 doesn't support llvm.isunordered.*
...
llvm-svn: 32994
2007-01-07 08:52:43 +00:00
Chris Lattner
59585a61fc
relax type
...
llvm-svn: 32993
2007-01-07 08:39:27 +00:00
Chris Lattner
10cae15d8e
remove support for llvm.isunordered
...
llvm-svn: 32992
2007-01-07 08:37:22 +00:00
Chris Lattner
d0c91e1c2e
remove llvm.isunordered
...
llvm-svn: 32991
2007-01-07 08:19:47 +00:00
Chris Lattner
7b864c0d9e
relax type
...
llvm-svn: 32990
2007-01-07 08:13:39 +00:00
Chris Lattner
34acba48cc
Change the interface to Module::getOrInsertFunction to be easier to use,to resolve PR1088, and to help PR411.
...
This simplifies many clients also
llvm-svn: 32989
2007-01-07 08:12:01 +00:00
Chris Lattner
505c06b739
Change the interface to Module::getOrInsertFunction to be easier to use,
...
to resolve PR1088, and to help PR411.
llvm-svn: 32988
2007-01-07 08:09:25 +00:00
Reid Spencer
1d48a8b9fb
Regenerate.
...
llvm-svn: 32987
2007-01-07 08:07:39 +00:00
Reid Spencer
2af5100b53
Upgrade the llvm.isunordered intrinsics to "fcmp uno" instruction.
...
llvm-svn: 32986
2007-01-07 08:07:10 +00:00
Chris Lattner
d97f1936bb
prepare for adjustment to getOrInsertFunction method
...
llvm-svn: 32985
2007-01-07 07:54:34 +00:00
Chris Lattner
b800b3921c
add some casts to support a change in the getOrInsertFunction interface
...
llvm-svn: 32984
2007-01-07 07:40:09 +00:00
Chris Lattner
f7eef61f20
relax type
...
llvm-svn: 32983
2007-01-07 07:24:32 +00:00