| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 116004
|
| |
|
|
|
|
|
| |
"external" even when doing lazy bitcode loading. This was broken because
a function that is not materialized fails the !isDeclaration() test.
llvm-svn: 114666
|
| |
|
|
|
|
| |
will not be deleted, rather than the ones that will.
llvm-svn: 114614
|
| |
|
|
| |
llvm-svn: 113550
|
| |
|
|
|
|
| |
being actively maintained, improved, or extended.
llvm-svn: 112356
|
| |
|
|
|
|
| |
I have no idea how lit did the right thing here, but other test runners don't.
llvm-svn: 111805
|
| |
|
|
|
|
| |
errors on stderr.
llvm-svn: 111440
|
| |
|
|
|
|
|
| |
address-taken. This can occur normally, if the code which took the
address got DCEd.
llvm-svn: 111121
|
| |
|
|
|
|
| |
had its address taken.
llvm-svn: 111058
|
| |
|
|
| |
llvm-svn: 110074
|
| |
|
|
| |
llvm-svn: 109801
|
| |
|
|
| |
llvm-svn: 108162
|
| |
|
|
| |
llvm-svn: 106269
|
| |
|
|
| |
llvm-svn: 105009
|
| |
|
|
| |
llvm-svn: 104970
|
| |
|
|
| |
llvm-svn: 104957
|
| |
|
|
| |
llvm-svn: 104956
|
| |
|
|
|
|
| |
reference the stack.
llvm-svn: 104951
|
| |
|
|
|
|
|
| |
effective no-op constructs, to make it more effective on
unoptimized IR.
llvm-svn: 104950
|
| |
|
|
| |
llvm-svn: 104936
|
| |
|
|
| |
llvm-svn: 104831
|
| |
|
|
|
|
| |
and Write, and add a comment explaining this.
llvm-svn: 104756
|
| |
|
|
| |
llvm-svn: 104744
|
| |
|
|
|
|
|
| |
-filetype=obj test, and -filetype=obj leaks a few objects. Added a FIXME, we
need to sort out the ownership model for the various MC objects.
llvm-svn: 103769
|
| |
|
|
|
|
|
|
| |
printed.
- This is a hack, but I can't decide the best place to handle this. Chris?
llvm-svn: 103765
|
| |
|
|
| |
llvm-svn: 103434
|
| |
|
|
| |
llvm-svn: 103432
|
| |
|
|
| |
llvm-svn: 103427
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This includes a patch by Roman Divacky to fix the initial crash.
Move the actual addition of passes from *PassManager::add to
*PassManager::addImpl. That way, when adding printer passes we won't
recurse infinitely.
Finally, check to make sure that we are actually adding a FunctionPass
to a FunctionPassManager before doing a print before or after it.
Immutable passes are strange in this way because they aren't
FunctionPasses yet they can be and are added to the FunctionPassManager.
llvm-svn: 103425
|
| |
|
|
| |
llvm-svn: 102733
|
| |
|
|
| |
llvm-svn: 100841
|
| |
|
|
| |
llvm-svn: 100825
|
| |
|
|
|
|
| |
unintended behavior.
llvm-svn: 100798
|
| |
|
|
| |
llvm-svn: 98178
|
| |
|
|
| |
llvm-svn: 98173
|
| |
|
|
| |
llvm-svn: 97492
|
| |
|
|
| |
llvm-svn: 97142
|
| |
|
|
|
|
| |
pointer type.
llvm-svn: 95769
|
| |
|
|
|
|
| |
generalize it to handle more cases.
llvm-svn: 95045
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cases, and implement target-independent folding rules for alignof and
offsetof. Also, reassociate reassociative operators when it leads to
more folding.
Generalize ScalarEvolution's isOffsetOf to recognize offsetof on
arrays. Rename getAllocSizeExpr to getSizeOfExpr, and getFieldOffsetExpr
to getOffsetOfExpr, for consistency with analagous ConstantExpr routines.
Make the target-dependent folder promote GEP array indices to
pointer-sized integers, to make implicit casting explicit and exposed
to subsequent folding.
And add a bunch of testcases for this new functionality, and a bunch
of related existing functionality.
llvm-svn: 94987
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
getelementptr (i8* inttoptr (i64 1 to i8*), i32 -1)
to
inttoptr (i64 0 to i8*)
from the VMCore constant folder. It didn't handle sign-extension properly
in the case where the source integer is smaller than a pointer size. And,
it relied on an assumption about sizeof(i8).
The Analysis constant folder still folds these kinds of things; it has
access to TargetData, so it can do them right.
Add a testcase which tests that the VMCore constant folder doesn't
miscompile this, and that the Analysis folder does fold it.
llvm-svn: 94750
|
| |
|
|
| |
llvm-svn: 94574
|
| |
|
|
| |
llvm-svn: 93069
|
| |
|
|
| |
llvm-svn: 92740
|
| |
|
|
| |
llvm-svn: 85021
|
| |
|
|
|
|
|
|
|
|
| |
While I'm there, change code that does:
SomeTy == Type::getFooType(Context)
into:
SomeTy->getTypeID() == FooTyID
to decrease the amount of useless type creation which may involve locking, etc.
llvm-svn: 81846
|
| |
|
|
| |
llvm-svn: 81540
|
| |
|
|
|
|
|
|
| |
input filename so that opt doesn't print the input filename in the
output so that grep lines in the tests don't unintentionally match
strings in the input filename.
llvm-svn: 81537
|
| |
|
|
| |
llvm-svn: 81257
|
| |
|
|
|
|
| |
of using llvm-as, now that opt supports this.
llvm-svn: 81226
|