- 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
-
Eric Christopher authored
llvm-svn: 168223
-
- Nov 16, 2012
-
-
Weiming Zhao authored
This patch replaces the hard coded GPR pair [R0, R1] of Intrinsic:arm_ldrexd and [R2, R3] of Intrinsic:arm_strexd with even/odd GPRPair reg class. Similar to the lowering of atomic_64 operation. llvm-svn: 168207
-
Andrew Trick authored
llvm-svn: 168203
-
Anton Korobeynikov authored
This fixes PR14359 llvm-svn: 168200
-
Richard Osborne authored
An alias to a function should use pc relative addressing. llvm-svn: 168199
-
Justin Holewinski authored
llvm-svn: 168198
-
Justin Holewinski authored
Before, the parser would assert on the following code: @a2 = global i8 addrspace(1)* @a @a = addrspace(1) global i8 0 because the type of @a was "i8*" instead of "i8 addrspace(1)*" when parsing the initializer for @a2. llvm-svn: 168197
-
Duncan Sands authored
llvm-svn: 168196
-
Craig Topper authored
llvm-svn: 168191
-
Duncan Sands authored
but wasn't due to the same logic bug that caused PR14361. llvm-svn: 168186
-
Joe Abbey authored
A PR is being filed to address some code issues here. llvm-svn: 168185
-
Craig Topper authored
llvm-svn: 168183
-
Chris Lattner authored
llvm-svn: 168182
-
Duncan Sands authored
replaced by this patch is equivalent to the new logic, but you'd be wrong, and that's exactly where the bug was. There's a similar bug in instsimplify which manifests itself as instsimplify failing to simplify this, rather than doing it wrong, see next commit. llvm-svn: 168181
-
Hans Wennborg authored
Patch by Pekka Jääskeläinen! llvm-svn: 168176
-
Duncan Sands authored
llvm-svn: 168166
-
Amara Emerson authored
all symbols during object loading, not just global ones. This fixes JIT execution of code using llvm.global_ctors with internal linkage constructors. llvm-svn: 168148
-