- Mar 12, 2008
-
-
Dan Gohman authored
llvm-svn: 48296
-
Duncan Sands authored
llvm-svn: 48295
-
Duncan Sands authored
getCopyToParts problem was noticed by the new LegalizeTypes infrastructure. In order to avoid this kind of thing in the future I've added a check that EXTRACT_ELEMENT is only used with integers. Once LegalizeTypes is up and running most likely BUILD_PAIR and EXTRACT_ELEMENT can be removed, in favour of using apints instead. llvm-svn: 48294
-
Chris Lattner authored
1. There is now a "PAListPtr" class, which is a smart pointer around the underlying uniqued parameter attribute list object, and manages its refcount. It is now impossible to mess up the refcount. 2. PAListPtr is now the main interface to the underlying object, and the underlying object is now completely opaque. 3. Implementation details like SmallVector and FoldingSet are now no longer part of the interface. 4. You can create a PAListPtr with an arbitrary sequence of ParamAttrsWithIndex's, no need to make a SmallVector of a specific size (you can just use an array or scalar or vector if you wish). 5. All the client code that had to check for a null pointer before dereferencing the pointer is simplified to just access the PAListPtr directly. 6. The interfaces for adding attrs to a list and removing them is a bit simpler. Phase #2 will rename some stuff (e.g. PAListPtr) and do other less invasive changes. llvm-svn: 48289
-
Chris Lattner authored
llvm-svn: 48285
-
Evan Cheng authored
llvm-svn: 48283
-
Owen Anderson authored
Improve the return slot optimization to be both more aggressive (not limited to sret parameters), and safer (when the passed pointer might be invalid). Thanks to Duncan and Chris for the idea behind this, and extra thanks to Duncan for helping me work out the trap-safety. llvm-svn: 48280
-
Evan Cheng authored
X86 lowering normalize vector 0 to v4i32. However DAGCombine can fold (sub x, x) -> 0 after legalization. It can create a zero vector of a type that's not expected (e.g. v8i16). We don't want to disable the optimization since leaving a (sub x, x) is really bad. Add isel patterns for other types of vector 0 to ensure correctness. It's highly unlikely to happen other than in bugpoint reduced test cases. llvm-svn: 48279
-
Owen Anderson authored
llvm-svn: 48278
-
Owen Anderson authored
feed the PHI instructions. We'll need these IDs in order to update LiveIntervals properly. llvm-svn: 48277
-
Chris Lattner authored
llvm-svn: 48276
-
Evan Cheng authored
llvm-svn: 48274
-
Chris Lattner authored
LoadLibraryPermanently. The current code modifies the value of a pointer that is passed by value, so the caller never gets the message. Patch by Julien Lerouge! llvm-svn: 48270
-
Dale Johannesen authored
llvm-svn: 48269
-
Anton Korobeynikov authored
llvm-svn: 48268
-
Devang Patel authored
llvm-svn: 48267
-
Dan Gohman authored
the automated CallingConv code to handle return values typically don't support multiple return values. llvm-svn: 48265
-
Dale Johannesen authored
llvm-svn: 48264
-
Evan Cheng authored
llvm-svn: 48263
-
Devang Patel authored
llvm-svn: 48262
-
Evan Cheng authored
llvm-svn: 48261
-
Dan Gohman authored
llvm-svn: 48260
-
- Mar 11, 2008
-
-
Anton Korobeynikov authored
llvm-svn: 48259
-
Anton Korobeynikov authored
llvm-svn: 48258
-
Anton Korobeynikov authored
llvm-svn: 48257
-
Dan Gohman authored
that merely add passes. This allows them to be used with either FunctionPassManager or PassManager, or even with a custom new kind of pass manager. llvm-svn: 48256
-
Anton Korobeynikov authored
llvm-svn: 48255
-
Devang Patel authored
llvm-svn: 48254
-
Devang Patel authored
llvm-svn: 48253
-
Dan Gohman authored
before trying to merge the block into its predecessors. This allows two-entry-phi-return.ll to be simplified into a single basic block. llvm-svn: 48252
-
Dan Gohman authored
optimized away before it tests what it is intended to test. llvm-svn: 48251
-
Anton Korobeynikov authored
llvm-svn: 48250
-
Anton Korobeynikov authored
llvm-svn: 48249
-
Anton Korobeynikov authored
llvm-svn: 48248
-
Dan Gohman authored
llvm-svn: 48247
-
Evan Cheng authored
llvm-svn: 48246
-
Dan Gohman authored
llvm-svn: 48245
-
Dan Gohman authored
llvm-svn: 48244
-
Chris Lattner authored
works, but probably won't if you mix it with 't' or 'u' yet. llvm-svn: 48243
-
Chris Lattner authored
llvm-svn: 48241
-