Chris Lattner
cc4715e06e
relax some types
...
llvm-svn: 32982
2007-01-07 07:22:20 +00:00
Chris Lattner
9641ab26ec
relax types
...
llvm-svn: 32981
2007-01-07 06:59:47 +00:00
Chris Lattner
fbc524fe87
relax some types
...
llvm-svn: 32980
2007-01-07 06:58:05 +00:00
Chris Lattner
cd65cf6095
remove support for old-style varargs upgrading
...
llvm-svn: 32979
2007-01-07 06:45:57 +00:00
Chris Lattner
bc3ffdda4c
this is an overcomplex way to call exit :)
...
llvm-svn: 32978
2007-01-07 06:43:08 +00:00
Reid Spencer
96b3ffe309
Add a test case for PR1086
...
llvm-svn: 32977
2007-01-07 03:27:39 +00:00
Reid Spencer
df7c61da7e
For PR1086:
...
Parameter attributes do have to be specially handled in the CBE. Implement
their handling.
llvm-svn: 32976
2007-01-07 03:24:48 +00:00
Chris Lattner
783c1c47a5
Simplify the testcase
...
llvm-svn: 32975
2007-01-07 02:28:52 +00:00
Chris Lattner
18954852ae
Fix PR1015 and Transforms/IndVarsSimplify/2007-01-06-TripCount.ll, a
...
miscompilation of Qt.
llvm-svn: 32974
2007-01-07 02:24:26 +00:00
Chris Lattner
a4c150b69e
Testcase for PR1015
...
llvm-svn: 32973
2007-01-07 02:24:10 +00:00
Chris Lattner
39087c7127
cast of int to bool no longer does a compare, rendering this fixme
...
obsolete
llvm-svn: 32972
2007-01-07 02:05:20 +00:00
Chris Lattner
0816559b13
add -debug output for -indvars.
...
llvm-svn: 32971
2007-01-07 01:14:12 +00:00
Reid Spencer
9e224a2533
Update the documentation for SymbolTable class.
...
llvm-svn: 32970
2007-01-07 00:41:39 +00:00
Anton Korobeynikov
a9ab10942d
As PR1085 was fixed, back out workaround
...
llvm-svn: 32969
2007-01-07 00:41:20 +00:00
Chris Lattner
f6e91576dc
Testcase for PR1085
...
llvm-svn: 32968
2007-01-07 00:32:15 +00:00
Chris Lattner
6a10713fea
New testcase for PR1084
...
llvm-svn: 32967
2007-01-07 00:02:20 +00:00
Chris Lattner
7fab842b1f
Add C wrappers for the LTO library (PR1081). Patch by Chandler Carruth!
...
llvm-svn: 32966
2007-01-06 23:53:43 +00:00
Chris Lattner
350563eba7
fix typo
...
llvm-svn: 32965
2007-01-06 23:51:31 +00:00
Chris Lattner
5967600442
testcase for pr1083
...
llvm-svn: 32964
2007-01-06 23:38:37 +00:00
Chris Lattner
dff39e53f1
wow, the link was already broken :)
...
llvm-svn: 32963
2007-01-06 23:20:51 +00:00
Chris Lattner
8a7183b5b8
add a note
...
llvm-svn: 32962
2007-01-06 23:19:38 +00:00
Chris Lattner
72a56fc44c
Disable the macho writer until it is 100% functional. Enabling it when
...
broken invites bug reports.
llvm-svn: 32961
2007-01-06 22:27:58 +00:00
Chris Lattner
67a1ef647a
this testcase is too large to be useful, and requires a .bc file to be
...
kept around. We can do without it.
llvm-svn: 32960
2007-01-06 22:02:26 +00:00
Chris Lattner
7051d758de
Fix regressions in InstCombine/call-cast-target.ll and InstCombine/2003-11-13-ConstExprCastCall.ll
...
llvm-svn: 32959
2007-01-06 19:53:32 +00:00
Anton Korobeynikov
bb162f48ba
gcc often inserts it's own names for sections (e.g.
...
gnu.linkonce.t.FunctionName). Convert them to "normal" LLVM names,
otherwise linker won't be able to merge them.
llvm-svn: 32958
2007-01-06 18:24:26 +00:00
Reid Spencer
aeeeaea5a3
Regenerate for new bytecode file format.
...
llvm-svn: 32957
2007-01-06 07:28:52 +00:00
Reid Spencer
32af9e8cc5
For PR411:
...
Take an incremental step towards type plane elimination. This change
separates types from values in the symbol tables by finally making use
of the TypeSymbolTable class. This yields more natural interfaces for
dealing with types and unclutters the SymbolTable class.
llvm-svn: 32956
2007-01-06 07:24:44 +00:00
Reid Spencer
ebbbbf6273
Regenerate.
...
llvm-svn: 32955
2007-01-06 06:04:32 +00:00
Reid Spencer
ba19a40e8c
Accomodate new name manglinge done by llvm-upgrade
...
llvm-svn: 32954
2007-01-06 06:04:04 +00:00
Reid Spencer
cf025ad44a
For PR1082:
...
Solve several related problems by making variable names more unique and
dealing with recursive phi nodes. Unfortunately, this doesn't solve the
main issue reported in the PR, but its a step in that direction.
llvm-svn: 32953
2007-01-06 06:03:09 +00:00
Reid Spencer
5f678a48ff
Currently, there is no fix for this.
...
llvm-svn: 32952
2007-01-06 05:16:27 +00:00
Reid Spencer
d0842cdeca
Test case for PR1082, an llvm-upgrade bug.
...
llvm-svn: 32951
2007-01-06 05:15:27 +00:00
Reid Spencer
780d4abb8c
Add an option for getting the C compiler flags, --cflags.
...
Patch contributed by Chandler Carruth
llvm-svn: 32950
2007-01-06 02:48:03 +00:00
Chris Lattner
c343a99786
this final call to canLosslesslyBitCastTo is dead, because ValueRequiresCast
...
is only called on integers.
llvm-svn: 32949
2007-01-06 02:11:56 +00:00
Chris Lattner
400f959a0c
simplify some more code now that there are not multiple different integer
...
types of the same size
llvm-svn: 32948
2007-01-06 02:09:32 +00:00
Chris Lattner
64d87b0215
eliminate some uses of canLosslesslyBitCastTo, this actually makes the code stronger, by nuking
...
relational pointer comparisons with casts.
llvm-svn: 32947
2007-01-06 01:45:59 +00:00
Chris Lattner
3fe98ae10a
no need to worry about int vs uint any more.
...
llvm-svn: 32946
2007-01-06 01:37:35 +00:00
Chris Lattner
af31398295
new note
...
llvm-svn: 32945
2007-01-06 01:30:45 +00:00
Reid Spencer
5f92611284
Regenerate
...
llvm-svn: 32944
2007-01-06 00:23:53 +00:00
Reid Spencer
b82bb9b903
Test Case for PR1080.
...
llvm-svn: 32943
2007-01-06 00:22:38 +00:00
Reid Spencer
bfa5df2604
For PR1080:
...
Emit the correct syntax for icmp and fcmp constant expressions. The
predicate goes outside the parentheses not inside. This was a change made
in the assembler without the corresponding change made in llvm-upgrade.
llvm-svn: 32942
2007-01-06 00:12:05 +00:00
Evan Cheng
8bc7ddb84d
setSetCCIsExpensive is gone.
...
llvm-svn: 32941
2007-01-05 23:42:53 +00:00
Evan Cheng
5f80c450f3
Expand fcopysign to the bitwise sequence if select is marked as expensive.
...
llvm-svn: 32940
2007-01-05 23:33:44 +00:00
Evan Cheng
549163707c
- Remove isSetCCExpensive() etc. These are no longer used.
...
- Add isSelectExpensive() etc. It's used to tell codegen that select is expensive for a given target, avoid using it if possible. Currently it's only
used to expand FCOPYSIGN.
llvm-svn: 32939
2007-01-05 23:31:08 +00:00
Devang Patel
b66334b73b
1) Remove old AnalysisResolver.
...
2) Rename AnalysisResolver_New as AnalysisResolver
llvm-svn: 32938
2007-01-05 22:47:07 +00:00
Reid Spencer
9329c5f06b
Fix dependencies. The lexer depends on the grammar for the UpgradeParser.h
...
file so make it depend on the .y file as well. This ensures that in
parallel builds the lexer is built after bison runs.
llvm-svn: 32937
2007-01-05 22:03:42 +00:00
Evan Cheng
97cbd70494
Update test case.
...
llvm-svn: 32936
2007-01-05 21:53:15 +00:00
Reid Spencer
f7d59e282d
For PR1077:
...
Remove the XFAIL now that global redefinitions are not permitted.
llvm-svn: 32935
2007-01-05 21:51:57 +00:00
Reid Spencer
3325908643
Regenerate.
...
llvm-svn: 32934
2007-01-05 21:51:07 +00:00
Reid Spencer
6c435f0fa0
For PR1077:
...
Disallow merging of dupliate global variables. It is now illegal to declare
or define two global variables of the same name and same type. llvm-gcc3 is
dead in 2.0 and llvm-gcc4 doesn't have that problem nor need the hack.
llvm-svn: 32933
2007-01-05 21:50:38 +00:00