| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 47922
|
|
|
|
| |
llvm-svn: 47857
|
|
|
|
|
|
| |
is returning a struct value.
llvm-svn: 47848
|
|
|
|
| |
llvm-svn: 47792
|
|
|
|
| |
llvm-svn: 47637
|
|
|
|
|
|
| |
operands instead of one aggregate operand.
llvm-svn: 47508
|
|
|
|
|
|
|
| |
stuff into ParamAttrsList.h. Per feedback from
ParamAttrs changes.
llvm-svn: 47504
|
|
|
|
| |
llvm-svn: 47460
|
|
|
|
| |
llvm-svn: 47425
|
|
|
|
|
|
| |
Now, we have very first multiple return value testcase!
llvm-svn: 47424
|
|
|
|
|
|
| |
One small step towards multiple return value support.
llvm-svn: 47406
|
|
|
|
| |
llvm-svn: 47394
|
|
|
|
| |
llvm-svn: 47387
|
|
|
|
| |
llvm-svn: 47348
|
|
|
|
|
|
|
| |
for adding alignment info, not there yet). Clean up
interfaces to reference ParameterAttributes consistently.
llvm-svn: 47342
|
|
|
|
|
|
|
|
| |
common problem of putting two terminators in the same block. I can't write
a testcase for this because the .ll parser rejects this before the verifier
can, but this can occur when generating IR.
llvm-svn: 46900
|
|
|
|
|
|
| |
allowed on the vararg arguments of a call.
llvm-svn: 45909
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 45850
|
|
|
|
|
|
| |
incompatibility.
llvm-svn: 45704
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 45418
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
LangRef.
llvm-svn: 45349
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
how to lower them (with no attempt made to be
efficient, since they should only occur for
unoptimized code).
llvm-svn: 45108
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
the generic address space. Implement support in the verifier for ensuring this is true.
llvm-svn: 45080
|
|
|
|
|
|
| |
function parameters.
llvm-svn: 44452
|
|
|
|
|
|
|
|
|
|
|
|
| |
the function type, instead they belong to functions
and function calls. This is an updated and slightly
corrected version of Reid Spencer's original patch.
The only known problem is that auto-upgrading of
bitcode files doesn't seem to work properly (see
test/Bitcode/AutoUpgradeIntrinsics.ll). Hopefully
a bitcode guru (who might that be? :) ) will fix it.
llvm-svn: 44359
|
|
|
|
|
|
|
|
|
| |
trivial difference in function attributes, allow calls to it to
be converted to direct calls. Based on a patch by Török Edwin.
While there, move the various lists of mutually incompatible
parameters etc out of the verifier and into ParameterAttributes.h.
llvm-svn: 44315
|
|
|
|
|
|
|
| |
and the 'pure' parameter attribute to 'readonly'.
Names suggested by DannyB.
llvm-svn: 44273
|
|
|
|
| |
llvm-svn: 44204
|
|
|
|
| |
llvm-svn: 44139
|
|
|
|
| |
llvm-svn: 44116
|
|
|
|
| |
llvm-svn: 44109
|
|
|
|
|
|
|
|
|
|
| |
doing something - this needs to work for release builds
too. I chose to just abort rather than following the
fancy logic of abortIfBroken, because (1) it is a pain
to do otherwise, and (2) nothing is going to work if the
module is this broken.
llvm-svn: 43611
|
|
|
|
|
|
| |
a command line optn.
llvm-svn: 43603
|
|
|
|
| |
llvm-svn: 43601
|
|
|
|
|
|
| |
so that we don't segfault when verifying invalid code.
llvm-svn: 43578
|
|
|
|
|
|
| |
now. It conflicts with clang's -pedantic flag.
llvm-svn: 43431
|
|
|
|
|
|
| |
to other reasons code
llvm-svn: 43424
|
|
|
|
|
|
|
| |
can be resolved to a function. This is required
for codegen and used by instcombine.
llvm-svn: 42469
|
|
|
|
| |
llvm-svn: 42140
|
|
|
|
| |
llvm-svn: 42087
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LLVM now enforces the following prototypes for the write barriers:
<ty>* @llvm.gcread(<ty2>*, <ty>**)
void @llvm.gcwrite(<ty>*, <ty2>*, <ty>**)
And for @llvm.gcroot, the first stack slot is verified to be an alloca or a
bitcast of an alloca.
Fixes test/CodeGen/Generic/GC/lower_gcroot.ll, which violated these.
llvm-svn: 42051
|
|
|
|
|
|
| |
GLIBCXX_DEBUG issues.
llvm-svn: 41697
|
|
|
|
| |
llvm-svn: 41165
|
|
|
|
|
|
| |
what they're supposed to be before using them.
llvm-svn: 41130
|
|
|
|
| |
llvm-svn: 41128
|