- Jan 12, 2008
-
-
Evan Cheng authored
llvm-svn: 45913
-
Duncan Sands authored
allowed on the vararg arguments of a call. llvm-svn: 45909
-
- Jan 11, 2008
-
-
Duncan Sands authored
parameter, even if it is a varargs function. Do allow attributes on the varargs part of a call, but not beyond the last argument. Only allow selected attributes to be on the varargs part of a call (currently only 'byval' is allowed). The reasoning here is that most attributes, eg inreg, simply make no sense here. llvm-svn: 45887
-
Evan Cheng authored
llvm-svn: 45850
-
- Jan 07, 2008
-
-
Duncan Sands authored
incompatibility. llvm-svn: 45704
-
- Jan 06, 2008
-
-
Duncan Sands authored
direct calls bails out unless caller and callee have essentially equivalent parameter attributes. This is illogical - the callee's attributes should be of no relevance here. Rework the logic, which incidentally fixes a crash when removed arguments have attributes. llvm-svn: 45658
-
Duncan Sands authored
a direct call with cast parameters and cast return value (if any), instcombine was prepared to cast any non-void return value into any other, whether castable or not. Add a new predicate for testing whether casting is valid, and check it both for the return value and (as a cleanup) for the parameters. llvm-svn: 45657
-
- Jan 03, 2008
-
-
Gordon Henriksen authored
llvm-svn: 45529
-
Gordon Henriksen authored
llvm-svn: 45528
-
Chris Lattner authored
refcount on these correctly, and can end up referring to deleted attributes. This fixes PR1881. llvm-svn: 45525
-
Chris Lattner authored
get a profile. llvm-svn: 45524
-
Chris Lattner authored
llvm-svn: 45519
-
Chris Lattner authored
own file. Don't #include ParameterAttributes.h into any major public header files: just move methods out of line as appropriate. llvm-svn: 45517
-
Chris Lattner authored
llvm-svn: 45512
-
- Jan 02, 2008
-
-
Chris Lattner authored
llvm-svn: 45506
-
- Jan 01, 2008
-
-
Gordon Henriksen authored
Patch by Bryan O'Sullivan! llvm-svn: 45481
-
- Dec 30, 2007
-
-
Gordon Henriksen authored
llvm-svn: 45450
-
- Dec 29, 2007
-
-
Chris Lattner authored
llvm-svn: 45418
-
Chris Lattner authored
llvm-svn: 45415
-
- Dec 27, 2007
-
-
Gordon Henriksen authored
llvm-svn: 45369
-
Gordon Henriksen authored
llvm-svn: 45367
-
- Dec 25, 2007
-
-
Gordon Henriksen authored
function with GC. This will catch the error when the inliner inlines a function with GC into a caller with no GC. llvm-svn: 45350
-
Gordon Henriksen authored
LangRef. llvm-svn: 45349
-
- Dec 21, 2007
-
-
Duncan Sands authored
as on functions. Make it verify invokes and not just ordinary calls. As a (desired) side-effect, it is no longer legal to have call attributes on arguments that are being passed to the varargs part of a varargs function (llvm-as drops them on the floor anyway). llvm-svn: 45286
-
- Dec 19, 2007
-
-
Gordon Henriksen authored
to exceptions rather than variants for error handling in Ocaml. llvm-svn: 45226
-
Duncan Sands authored
calls 'nounwind'. It is important for correct C++ exception handling that nounwind markings do not get lost, so this transformation is actually needed for correctness. llvm-svn: 45218
-
- Dec 18, 2007
-
-
Chris Lattner authored
llvm-svn: 45163
-
Duncan Sands authored
doesNotThrow. llvm-svn: 45160
-
Christopher Lamb authored
Don't forget to print address space qualifiers when printing out the type table! Thanks to Gordon Henriksen for pointing this out. llvm-svn: 45147
-
Evan Cheng authored
llvm-svn: 45140
-
- Dec 17, 2007
-
-
Evan Cheng authored
it's auto-upgraded to a shufflevector instruction. llvm-svn: 45131
-
Duncan Sands authored
how to lower them (with no attempt made to be efficient, since they should only occur for unoptimized code). llvm-svn: 45108
-
Gordon Henriksen authored
for Ocaml-based compilers targeting embedded devices. :) llvm-svn: 45096
-
Christopher Lamb authored
Change the PointerType api for creating pointer types. The old functionality of PointerType::get() has become PointerType::getUnqual(), which returns a pointer in the generic address space. The new prototype of PointerType::get() requires both a type and an address space. llvm-svn: 45082
-
Christopher Lamb authored
Make it clear in the LangRef that allocation instructions only operated on the generic address space. Implement support in the verifier for ensuring this is true. llvm-svn: 45080
-
- Dec 16, 2007
-
-
Duncan Sands authored
calls. Remove special casing of inline asm from the inliner. There is a potential problem: the verifier rejects invokes of inline asm (not sure why). If an asm call is not marked "nounwind" in some .ll, and instcombine is not run, but the inliner is run, then an illegal module will be created. This is bad but I'm not sure what the best approach is. I'm tempted to remove the check in the verifier... llvm-svn: 45073
-
- Dec 14, 2007
-
-
Anders Carlsson authored
All MMX shift instructions took a <2 x i32> vector as the shift amount parameter. Change this to be <1 x i64> instead, which matches the assembler instruction. llvm-svn: 45027
-
- Dec 12, 2007
-
-
Duncan Sands authored
and readnone for functions with bodies because it broke llvm-gcc-4.2 bootstrap. It turns out that, because of LLVM's array_ref hack, gcc was computing pure/const attributes wrong (now fixed by turning off the gcc ipa-pure-const pass). llvm-svn: 44937
-
Gordon Henriksen authored
llvm-svn: 44899
-
- Dec 11, 2007
-
-
Christopher Lamb authored
regions of memory that have a target specific relationship, as described in the Embedded C Technical Report. This also implements the 2007-12-11-AddressSpaces test, which demonstrates how address space attributes can be used in LLVM IR. In addition, this patch changes the bitcode signature for stores (in a backwards compatible manner), such that the pointer type, rather than the pointee type, is encoded. This permits type information in the pointer (e.g. address space) to be preserved for stores. LangRef updates are forthcoming. llvm-svn: 44858
-