Commit Graph

39230 Commits

Author SHA1 Message Date
Dan Gohman 6001b91d8e CodeGen support for aggregate-value function arguments.
llvm-svn: 52156
2008-06-09 21:19:23 +00:00
Duncan Sands 7192a54772 Update the build instructions.
llvm-svn: 52153
2008-06-09 20:24:05 +00:00
Duncan Sands 67d0f332d5 Various tweaks related to apint codegen. No functionality
change for non-funky-sized integers.

llvm-svn: 52151
2008-06-09 15:48:25 +00:00
Dan Gohman d485e4eb5c Handle empty aggregate values.
llvm-svn: 52150
2008-06-09 15:21:47 +00:00
Dan Gohman 3ab46f1383 AsmParser support for immediate constant aggregate values.
llvm-svn: 52149
2008-06-09 14:45:02 +00:00
Dan Gohman 6e384fc28e CPPBackend support for extractvalue and insertvalue.
llvm-svn: 52147
2008-06-09 14:12:10 +00:00
Dan Gohman 7be3fc7c97 Abort on an unrecognized opcode.
llvm-svn: 52146
2008-06-09 14:09:13 +00:00
Dan Gohman 62f63f4320 Update the CPP backend for the ConstantFP::get API change.
llvm-svn: 52144
2008-06-09 14:08:11 +00:00
Duncan Sands 93b6609ae2 Remove some DAG combiner assumptions about sizes
of integer types.  Fix the isMask APInt method to
actually work (hopefully) rather than crashing
because it adds apints of different bitwidths.
It looks like isShiftedMask is also broken, but
I'm leaving that one to the APInt people (it is
not used anywhere).

llvm-svn: 52142
2008-06-09 11:32:28 +00:00
Duncan Sands d0cd426131 Test that prune-eh doesn't make deductions based
on bodies of functions with weak linkage.

llvm-svn: 52141
2008-06-09 11:28:41 +00:00
Rafael Espindola 29479df2ac add support for PIC on linux x86-64
llvm-svn: 52139
2008-06-09 09:52:31 +00:00
Chris Lattner 9c9f531a47 lower calls to abs to inline code, PR2337
llvm-svn: 52138
2008-06-09 08:26:51 +00:00
Chris Lattner dbd595f22d Fix PR2411, where ip constant prop would propagate the
result of a weak function.

llvm-svn: 52137
2008-06-09 07:58:07 +00:00
Bill Wendling 54a6cbf12a Small formatting changes.
llvm-svn: 52136
2008-06-09 07:51:45 +00:00
Chris Lattner 77e8ac4d03 use 'continue' to make the function linker simpler. When linking a strong
function into a weak function, zap the weak function body so that the
strong one overrides it.  This fixes PR2410

llvm-svn: 52135
2008-06-09 07:47:34 +00:00
Chris Lattner 228a5f1867 minor changes to short circuit the 'no linkage' case earlier for
function bodies.  We now don't try to unify types or handling type
mismatches if when linking an internal foo to an external foo.

llvm-svn: 52134
2008-06-09 07:36:11 +00:00
Chris Lattner ec7441b365 simplify function visibility handling.
llvm-svn: 52133
2008-06-09 07:25:28 +00:00
Tanya Lattner d18ce727e1 Create dirs as needed.
llvm-svn: 52131
2008-06-09 07:14:31 +00:00
Gabor Greif 7f39fb522b removed two implicitly closed </p> tags to get it validate
llvm-svn: 52123
2008-06-09 06:06:18 +00:00
Tanya Lattner 610e89dfc5 Update with new release.
llvm-svn: 52121
2008-06-09 06:02:09 +00:00
Dan Gohman e30c937df3 Add a note in the API Changes section about the ConstantFP::get change.
llvm-svn: 52119
2008-06-09 04:36:34 +00:00
Anton Korobeynikov 286175d545 Use proper icon :)
llvm-svn: 52118
2008-06-09 04:21:50 +00:00
Anton Korobeynikov 3cd6223490 Fix few validations errors
llvm-svn: 52117
2008-06-09 04:20:10 +00:00
Anton Korobeynikov 2a67ecb664 Add footer
llvm-svn: 52116
2008-06-09 04:17:51 +00:00
Anton Korobeynikov 4167db94bf Remove obsolete CompilerDriver.html and provie a new one, based on autogenerated file form
LLVMC-Reference.rst

llvm-svn: 52115
2008-06-09 04:15:49 +00:00
Chris Lattner 5baa413833 linkify, this requires pulling CodeGenerator.html into 2.3.
llvm-svn: 52114
2008-06-09 04:00:08 +00:00
Chris Lattner f54043b3d7 Add a simple, but efficient, generic scoped hash table
llvm-svn: 52112
2008-06-09 00:42:10 +00:00
Chris Lattner c57ba6c14b grammaro
llvm-svn: 52111
2008-06-08 23:40:40 +00:00
Chris Lattner 54d1210f7a final edits from me, simplify the ia64 section.
llvm-svn: 52110
2008-06-08 23:12:47 +00:00
Chris Lattner ed716055f6 more edits
llvm-svn: 52109
2008-06-08 23:06:47 +00:00
Dan Gohman 721b3721be Add notes about two known X86-64 limitations.
llvm-svn: 52108
2008-06-08 23:05:11 +00:00
Chris Lattner b7bc2aa3ed several edits
llvm-svn: 52107
2008-06-08 22:59:35 +00:00
Dan Gohman aa4a946a0c Add some links to doxygen documentation.
llvm-svn: 52106
2008-06-08 22:57:59 +00:00
Dan Gohman 8709a80646 Describe MachineMemOperands.
llvm-svn: 52105
2008-06-08 22:49:27 +00:00
Dan Gohman e70672453a Fix a grammero.
llvm-svn: 52104
2008-06-08 22:44:43 +00:00
Gordon Henriksen f78a57bb09 Revert a bad edit from r52095.
llvm-svn: 52103
2008-06-08 22:05:11 +00:00
Chris Lattner c75fd52044 add vmkit and rewrite clang section
llvm-svn: 52102
2008-06-08 21:58:17 +00:00
Chris Lattner 625a3d8301 start edits.
llvm-svn: 52100
2008-06-08 21:34:41 +00:00
Chris Lattner b076b00fdf add more notes.
llvm-svn: 52099
2008-06-08 21:19:07 +00:00
Duncan Sands 11dd424539 Remove comparison methods for MVT. The main cause
of apint codegen failure is the DAG combiner doing
the wrong thing because it was comparing MVT's using
< rather than comparing the number of bits.  Removing
the < method makes this mistake impossible to commit.
Instead, add helper methods for comparing bits and use
them.

llvm-svn: 52098
2008-06-08 20:54:56 +00:00
Chris Lattner b4866ef30c Limit the icmp+phi merging optimization to the cases where it is profitable:
don't make i1 phis when it won't be possible to eliminate them.

llvm-svn: 52097
2008-06-08 20:52:11 +00:00
Chris Lattner 94fd4474f4 add some html escapes
llvm-svn: 52096
2008-06-08 20:25:30 +00:00
Duncan Sands 5644846da3 Using llc always rather than sometimes using LLC.
Try to improve language in various places.  Use
X86 always rather than sometimes using x86.  Add
some minor Ada info.

llvm-svn: 52095
2008-06-08 20:18:35 +00:00
Duncan Sands 0bc1526b6d Fix spelling.
llvm-svn: 52094
2008-06-08 19:38:43 +00:00
Anton Korobeynikov b4b2f0f741 Remove invalid test
llvm-svn: 52093
2008-06-08 16:59:10 +00:00
Anton Korobeynikov 486c7d3fa5 Add win64
llvm-svn: 52091
2008-06-08 10:24:13 +00:00
Anton Korobeynikov f7c5a6e805 This was fixed
llvm-svn: 52090
2008-06-08 10:23:46 +00:00
Chris Lattner 7795ea929a add some notes.
llvm-svn: 52087
2008-06-08 02:45:07 +00:00
Bruno Cardoso Lopes 041604ba9f Added FP instruction formats.
llvm-svn: 52086
2008-06-08 01:39:36 +00:00
Bill Wendling b7272db9f6 Temporarily reverting r52056. It's causing PPC to fail to bootstrap.
llvm-svn: 52085
2008-06-08 01:36:24 +00:00