- Nov 20, 2012
-
-
Sebastian Pop authored
so that I can (someday) call SE->getSCEV without complaint. No semantic change intended. Patch from Preston Briggs <preston.briggs@gmail.com>. llvm-svn: 168391
-
Jyotsna Verma authored
llvm-svn: 168388
-
Eric Christopher authored
llvm-svn: 168387
-
Eric Christopher authored
llvm-svn: 168384
-
Eric Christopher authored
llvm-svn: 168383
-
Kostya Serebryany authored
llvm-svn: 168368
-
Kostya Serebryany authored
[asan] don't instrument linker-initialized globals even with external linkage in -asan-initialization-order mode llvm-svn: 168367
-
Kostya Serebryany authored
[asan] make sure that linker-initialized globals (non-extern) are not instrumented even in -asan-initialization-order mode. This time with a test llvm-svn: 168366
-
Chandler Carruth authored
printing functions themselves. Part of PR14324 (which should have just been a patch to the list, but hey...) llvm-svn: 168362
-
Chandler Carruth authored
The issue is that we may end up with newly OOB loads when speculating a load into the predecessors of a PHI node, and this confuses the new integer splitting logic in some cases, triggering an assertion failure. In fact, the branch in question must be dead code as it loads from a too-narrow alloca. Add code to handle this gracefully and leave the requisite FIXMEs for both optimizing more aggressively and doing more to aid sanitizing invalid code which triggers these patterns. llvm-svn: 168361
-
Tim Northover authored
+ Take account of clobbers + Give outputs priority over inputs since they happen later. llvm-svn: 168360
-
Elena Demikhovsky authored
llvm-svn: 168359
-
Bill Wendling authored
When code deletes the context, the AttributeImpls that the AttrListPtr points to are now invalid. Therefore, instead of keeping a separate managed static for the AttrListPtrs that's reference counted, move it into the LLVMContext and delete it when deleting the AttributeImpls. llvm-svn: 168354
-
Chandler Carruth authored
llvm-svn: 168347
-
Chandler Carruth authored
to properly handle the combinations of these with split integer loads and stores. This essentially replaces Evan's r168227 by refactoring the code in a different way, and trynig to mirror that refactoring in both the load and store sides of the rewriting. Generally speaking there was some really problematic duplicated code here that led to poorly founded assumptions and then subtle bugs. Now much of the code actually flows through and follows a more consistent style and logical path. There is still a tiny bit of duplication on the store side of things, but it is much less bad. This also changes the logic to never re-use a load or store instruction as that was simply too error prone in practice. I've added a few tests (one a reduction of the one in Evan's original patch, which happened to be the same as the report in PR14349). I'm going to look at adding a few more tests for things I found and fixed in passing (such as the volatile tests in the vectorizable predicate). This patch has survived bootstrap, and modulo one bugfix survived Duncan's test suite, but let me know if anything else explodes. llvm-svn: 168346
-
Eric Christopher authored
llvm-svn: 168344
-
Sean Silva authored
The rationale is to get YAML filenames in diagnostics from yaml::Stream::printError -- currently the filename is hard-coded as "YAML" because there's no buffer information available. Patch by Kim Gräsman! llvm-svn: 168341
-
- Nov 19, 2012
-
-
Eric Christopher authored
llvm-svn: 168338
-
Eric Christopher authored
llvm-svn: 168337
-
Anton Korobeynikov authored
the zero GV check inside, so we won't forget it at the caller side. llvm-svn: 168328
-
Anton Korobeynikov authored
It turned out that ARM wants different layout of type infos. This is yet another patch in attempt to fix PR7187 llvm-svn: 168325
-
Eric Christopher authored
depending on them being emitted before the text and/or data sections and testing didn't uncover any. llvm-svn: 168321
-
Jakob Stoklund Olesen authored
PR14376. llvm-svn: 168320
-
Joe Abbey authored
llvm-svn: 168318
-
NAKAMURA Takumi authored
llvm-svn: 168304
-
Bob Wilson authored
This patch moves the isInlineViable function from the InlineAlways pass into the InlineCostAnalyzer and then changes the InlineCost computation to use that simple check for always-inline functions. All the special-case checks for AlwaysInline in the CallAnalyzer can then go away. llvm-svn: 168300
-
Bob Wilson authored
llvm-svn: 168299
-
Craig Topper authored
llvm-svn: 168294
-
- Nov 18, 2012
-
-
Duncan Sands authored
removed in commit 168035, but I missed this bit). llvm-svn: 168292
-
Duncan Sands authored
operands of the expression being written was wrongly thought to be reusable as an inner node of the expression resulting in it turning up as both an inner node *and* a leaf, creating a cycle in the def-use graph. This would have caused the verifier to blow up if things had gotten that far, however it managed to provoke an infinite loop first. llvm-svn: 168291
-
Nick Lewycky authored
llvm-svn: 168280
-
- Nov 17, 2012
-
-
James Molloy authored
Add a new function to ConstantExpr - getAsInstruction. This returns its Instruction* corollary, which may be useful if a user wishes to transform a ConstantExpr so that one of its operands is no longer constant. llvm-svn: 168262
-
Benjamin Kramer authored
llvm-svn: 168259
-
Andrew Trick authored
On PPC the stack pointer is X1, but ADJCALLSTACK writes R1. Fixes PR14315: Register regmask dependency problem with misched. llvm-svn: 168248
-
Hal Finkel authored
This is a partial solution to PR14351. It removes some of the special significance of the first incoming phi value in the phi aliasing checking logic in BasicAA. In the context of a loop, the old logic assumes that the first incoming value is the interesting one (meaning that it is the one that comes from outside the loop), but this is often not the case. With this change, we now test first the incoming value that comes from a block other than the parent of the phi being tested. llvm-svn: 168245
-
Eli Friedman authored
llvm-svn: 168240
-
Nadav Rotem authored
At the moment we still require to have an integer induction variable (for example: i++). llvm-svn: 168231
-
Akira Hatanaka authored
llvm-svn: 168230
-
Weiming Zhao authored
style requirement. llvm-svn: 168229
-
Evan Cheng authored
Teach SROA rewriteVectorizedStoreInst to handle cases when the loaded value is narrower than the stored value. rdar://12713675 llvm-svn: 168227
-