- Jun 08, 2012
-
-
Douglas Gregor authored
from Tom Honermann! llvm-svn: 158211
-
Nuno Lopes authored
BoundsChecking: add support for ConstantPointerNull. fixes a bunch of instrumentation failures in loops with reallocs llvm-svn: 158210
-
NAKAMURA Takumi authored
llvm-svn: 158209
-
Filipe Cabecinhas authored
llvm-svn: 158207
-
Hal Finkel authored
The pass itself works well, but the something in the Machine* infrastructure does not understand terminators which define registers. Without the ability to use the block-placement pass, etc. this causes performance regressions (and so is turned off by default). Turning off the analysis turns off the problems with the Machine* infrastructure. llvm-svn: 158206
-
Hal Finkel authored
The code which tests for an induction operation cannot assume that any ADDI instruction will have a register operand because the operand could also be a frame index; for example: %vreg16<def> = ADDI8 <fi#0>, 0; G8RC:%vreg16 llvm-svn: 158205
-
Hal Finkel authored
Add the PPCCTRLoops pass: a PPC machine-code-level optimization pass to form CTR-based loop branching code. This pass is derived from the Hexagon HardwareLoops pass. The only significant enhancement over the Hexagon pass is that PPCCTRLoops will also attempt to delete the replaced add and compare operations if they are no longer otherwise used. Also, invalid preheader DebugLoc is not used. llvm-svn: 158204
-
Alexey Samsonov authored
llvm-svn: 158202
-
Alexey Samsonov authored
llvm-svn: 158201
-
Alexey Samsonov authored
llvm-svn: 158200
-
Duncan Sands authored
can move instructions within the instruction list. If the instruction just happens to be the one the basic block iterator is pointing to, and it is moved to a different basic block, then we get into an infinite loop due to the iterator running off the end of the basic block (for some reason this doesn't fire any assertions). Original commit message: Grab-bag of reassociate tweaks. Unify handling of dead instructions and instructions to reoptimize. Exploit this to more systematically eliminate dead instructions (this isn't very useful in practice but is convenient for analysing some testcase I am working on). No need for WeakVH any more: use an AssertingVH instead. llvm-svn: 158199
-
Alexey Samsonov authored
llvm-svn: 158198
-
Tobias Grosser authored
This was previously only done for executables and shared libraries, but not for modules. As modules are essentially shared libraries (that need to be dlopened explicitly), threating them the same as shared libraries seems reasonable. This fixes the LLVM_BUILD_32_BITS build of Polly. Contributed by: Ondra Hosek <ondra.hosek@gmail.com> llvm-svn: 158195
-
Argyrios Kyrtzidis authored
that does not exist. rdar://11607033 llvm-svn: 158193
-
Argyrios Kyrtzidis authored
llvm-svn: 158192
-
Jason Molenda authored
llvm-svn: 158191
-
Jason Molenda authored
llvm-svn: 158190
-
Argyrios Kyrtzidis authored
AST: For auto-synthesized ivars give them the location of the related property (previously they had no source location). This allows them to be indexed by libclang. libclang: Make sure synthesized ivars are indexed before the methods that may reference them. Fixes rdar://11607001. llvm-svn: 158189
-
Sean Callanan authored
a cache of address ranges for child sections, accelerating lookups. This cache is built during object file loading, and is then set in stone once the object files are done loading. (In Debug builds, we ensure that the cache is never invalidated after that.) llvm-svn: 158188
-
Anna Zaks authored
(For the future: It would be more efficient to produce a hash key with the embedded function info inside the compiler.) llvm-svn: 158187
-
Richard Smith authored
definitions of such members are prohibited, not mere declarations. llvm-svn: 158186
-
Kaelyn Uhrain authored
feedback from Doug Gregor. llvm-svn: 158185
-
Richard Smith authored
in the presence of type sugar. llvm-svn: 158184
-
Owen Anderson authored
Teach the AsmMatcherEmitter to allow InstAlias' where the suboperands of a complex operand are called out explicitly in the asm string. llvm-svn: 158183
-
Douglas Gregor authored
Manish Verma! llvm-svn: 158182
-
Chandler Carruth authored
test, but David Sehr is looking at spiffing it up and adding some proper tests for our alloca codegen. llvm-svn: 158181
-
Anna Zaks authored
CmpRuns.py can be used to compare issues from different analyzer runs. Since it uses the issue line number to unique 2 issues, adding a new line to the beginning of a file makes all issues in the file reported as new. The hash will be an opaque value which could be used (along with the function name) by CmpRuns to identify the same issues. This way, we only fail to identify the same issue from two runs if the function it appears in changes (not perfect, but much better than nothing). llvm-svn: 158180
-
Anna Zaks authored
Thanks, Jordan. llvm-svn: 158179
-
Kaelyn Uhrain authored
nested name specifiers in addition to the function's identifier when the correction has a different nested name specifier. llvm-svn: 158178
-
Kaelyn Uhrain authored
correction to use for an invalid function redeclaration. llvm-svn: 158177
-
Michael J. Spencer authored
llvm-svn: 158176
-
Manman Ren authored
This patch will generate the following for integer ABS: movl %edi, %eax negl %eax cmovll %edi, %eax INSTEAD OF movl %edi, %ecx sarl $31, %ecx leal (%rdi,%rcx), %eax xorl %ecx, %eax There exists a target-independent DAG combine for integer ABS, which converts integer ABS to sar+add+xor. For X86, we match this pattern back to neg+cmov. This is implemented in PerformXorCombine. rdar://10695237 llvm-svn: 158175
-
Douglas Gregor authored
llvm-svn: 158174
-
Sean Callanan authored
that controls whether memory is cached. This is off by default (i.e., memory is cached) because it greatly improves performance. llvm-svn: 158173
-
Douglas Gregor authored
llvm-svn: 158172
-
- Jun 07, 2012
-
-
Michael J. Spencer authored
llvm-svn: 158171
-
Michael J. Spencer authored
Remove /Wall from LLVM_ENABLE_WARNINGS (it's useless) and promote 4239 to a level 1 warning. llvm-svn: 158170
-
Nadav Rotem authored
Do not optimize the used bits of the x86 vselect condition operand, when the condition operand is a vector of 1-bit predicates. This may happen on MIC devices. llvm-svn: 158168
-
Nadav Rotem authored
Fix a bug in FoldSelectOpOp. Bitcast ops may change the number of vector elements, which may disagree with the select condition type. llvm-svn: 158166
-
Anna Zaks authored
I falsely assumed that the memory spaces are equal when we reach this point, they might not be when memory space of one or more is stack or Unknown. We don't want a region from Heap space alias something with another memory space. llvm-svn: 158165
-