Chris Lattner
b75137d1f4
Fully specify the type of the llvm.va* intrinsics. This helps resolve
...
Pr1093
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33009 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-08 07:55:15 +00:00
Chris Lattner
c0974a1344
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33008 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-08 07:36:34 +00:00
Reid Spencer
b801a27121
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33007 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-08 06:58:32 +00:00
Chandler Carruth
40e274b579
Build libLLVMlto on non-Darwin architectures. Resolves PR1055: http://llvm.org/PR1055
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33006 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-08 06:25:29 +00:00
Reid Spencer
ca7ad8942a
Fix a bug in an assert that would never trigger.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33005 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-08 05:34:39 +00:00
Chandler Carruth
bb7a624352
Testing commit, and adding an entry to CREDITS.TXT
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33004 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-08 03:10:00 +00:00
Reid Spencer
e7ca042730
Convert uses of getPrimitiveSize that should be getPrimitiveSizeInBits.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33003 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-08 01:26:33 +00:00
Reid Spencer
f1d2f96675
llvm.isunordered.* are gone.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33002 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 23:30:23 +00:00
Reid Spencer
3c628627ea
Types should be const.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33001 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 21:45:41 +00:00
Reid Spencer
161a4c9d79
Redefinition of functions is no longer permitted.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33000 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 19:33:49 +00:00
Chris Lattner
5c4a96dfc5
the old trace values pass has been removed, remove its runtime library.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32999 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 18:13:48 +00:00
Chris Lattner
ba8b327f67
this pass is unused
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32998 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 18:12:43 +00:00
Chris Lattner
fd0cf61670
remove an old instrumentation pass that is not used anymore.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32997 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 18:12:13 +00:00
Chris Lattner
30ade26ef7
llvm.isunordered is no longer alive.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32995 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 08:53:26 +00:00
Chris Lattner
f01da5939d
llvm 2.0 doesn't support llvm.isunordered.*
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32994 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 08:52:43 +00:00
Chris Lattner
f1d71b537c
relax type
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32993 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 08:39:27 +00:00
Chris Lattner
a4810b52d0
remove support for llvm.isunordered
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32992 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 08:37:22 +00:00
Chris Lattner
257cbf7a8d
remove llvm.isunordered
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32991 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 08:19:47 +00:00
Chris Lattner
2db43c864e
relax type
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32990 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 08:13:39 +00:00
Chris Lattner
b76efb71d4
Change the interface to Module::getOrInsertFunction to be easier to use,to resolve PR1088, and to help PR411.
...
This simplifies many clients also
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32989 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 08:12:01 +00:00
Chris Lattner
70d130516a
Change the interface to Module::getOrInsertFunction to be easier to use,
...
to resolve PR1088, and to help PR411.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32988 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 08:09:25 +00:00
Reid Spencer
12969887a3
Regenerate.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32987 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 08:07:39 +00:00
Reid Spencer
e3671f90f2
Upgrade the llvm.isunordered intrinsics to "fcmp uno" instruction.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32986 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 08:07:10 +00:00
Chris Lattner
a121fddf3c
prepare for adjustment to getOrInsertFunction method
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32985 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 07:54:34 +00:00
Chris Lattner
6a98754ebb
add some casts to support a change in the getOrInsertFunction interface
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32984 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 07:40:09 +00:00
Chris Lattner
52a457c7e2
relax type
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32983 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 07:24:32 +00:00
Chris Lattner
febe5f1b3c
relax some types
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32982 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 07:22:20 +00:00
Chris Lattner
35057c2625
relax types
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32981 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 06:59:47 +00:00
Chris Lattner
92141968cb
relax some types
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32980 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 06:58:05 +00:00
Chris Lattner
f3ccb692f2
remove support for old-style varargs upgrading
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32979 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 06:45:57 +00:00
Chris Lattner
f74edf28b6
this is an overcomplex way to call exit :)
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32978 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 06:43:08 +00:00
Reid Spencer
32ff92d924
Add a test case for PR1086
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32977 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 03:27:39 +00:00
Reid Spencer
0ae9693744
For PR1086:
...
Parameter attributes do have to be specially handled in the CBE. Implement
their handling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32976 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 03:24:48 +00:00
Chris Lattner
e0a9c9c7c8
Simplify the testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32975 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 02:28:52 +00:00
Chris Lattner
8b0e3602e2
Fix PR1015 and Transforms/IndVarsSimplify/2007-01-06-TripCount.ll, a
...
miscompilation of Qt.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32974 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 02:24:26 +00:00
Chris Lattner
b4b512bc6e
Testcase for PR1015
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32973 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 02:24:10 +00:00
Chris Lattner
f82188c9ce
cast of int to bool no longer does a compare, rendering this fixme
...
obsolete
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32972 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 02:05:20 +00:00
Chris Lattner
ee4f13a904
add -debug output for -indvars.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32971 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 01:14:12 +00:00
Reid Spencer
a636224712
Update the documentation for SymbolTable class.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32970 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 00:41:39 +00:00
Anton Korobeynikov
d5f317d158
As PR1085 was fixed, back out workaround
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32969 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 00:41:20 +00:00
Chris Lattner
43ebbcde00
Testcase for PR1085
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32968 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 00:32:15 +00:00
Chris Lattner
774abfefeb
New testcase for PR1084
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32967 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 00:02:20 +00:00
Chris Lattner
ddc6f353c0
Add C wrappers for the LTO library (PR1081). Patch by Chandler Carruth!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32966 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-06 23:53:43 +00:00
Chris Lattner
11fdadf407
fix typo
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32965 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-06 23:51:31 +00:00
Chris Lattner
8d648f711b
testcase for pr1083
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32964 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-06 23:38:37 +00:00
Chris Lattner
41a4429f65
wow, the link was already broken :)
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32963 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-06 23:20:51 +00:00
Chris Lattner
38742b9603
add a note
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32962 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-06 23:19:38 +00:00
Chris Lattner
15c91887e4
Disable the macho writer until it is 100% functional. Enabling it when
...
broken invites bug reports.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32961 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-06 22:27:58 +00:00
Chris Lattner
1747b2624e
this testcase is too large to be useful, and requires a .bc file to be
...
kept around. We can do without it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32960 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-06 22:02:26 +00:00
Chris Lattner
46013f4044
Fix regressions in InstCombine/call-cast-target.ll and InstCombine/2003-11-13-ConstExprCastCall.ll
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32959 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-06 19:53:32 +00:00