- Apr 25, 2013
-
-
Akira Hatanaka authored
Patch by Zoran Jovanovic. llvm-svn: 180238
-
Andrew Kaylor authored
llvm-svn: 180232
-
Tom Stellard authored
Fixes test/CodeGen/R600/setcc.ll llvm-svn: 180231
-
Tom Stellard authored
The libelf implementation that is distributed here: http://www.mr511.de/software/english.html will not parse sections that are marked SHT_NULL. llvm-svn: 180230
-
Andrew Kaylor authored
Patch by Filip Pizlo llvm-svn: 180229
-
Andrew Trick authored
Fixes PR15838. Need to check for blocks with nothing but dbg.value. I'm not sure how to force this situation with a unit test. I tried to reduce the test case in PR15838 (1k lines of metadata) but gave up. llvm-svn: 180227
-
Chad Rosier authored
rdar://13731657 llvm-svn: 180226
-
Andrew Kaylor authored
llvm-svn: 180225
-
Michael Gottesman authored
[objc-arc] Added ImpreciseAutoreleaseSet to track autorelease calls that were once autoreleaseRV instructions. Due to the semantics of ARC, we must be extremely conservative with autorelease calls inserted by the frontend since ARC gaurantees that said object will be in the autorelease pool after that point, an optimization invariant that the optimizer must respect. On the other hand, we are allowed significantly more flexibility with autoreleaseRV instructions. Often times though this flexibility is disrupted by early transformations which transform objc_autoreleaseRV => objc_autorelease if said instruction is no longer being used as part of an RV pair (generally due to inlining). Since we can not tell the difference in between an autorelease put into place by the frontend and one created through said ``strength reduction'' we can not perform these optimizations. The addition of this set gets around said issues by allowing us to differentiate in between said two cases. rdar://problem/13697741. llvm-svn: 180222
-
Michael Gottesman authored
llvm-svn: 180221
-
- Apr 24, 2013
-
-
Jack Carter authored
Contributer: Vladimir Medic llvm-svn: 180220
-
Rafael Espindola authored
While here, don't report a dummy symbol for relocations that don't have symbols. We used to says such relocations were for the first defined symbol, but now we return end_symbols(). The llvm-readobj output change agrees with otool. llvm-svn: 180214
-
Rafael Espindola authored
LTO was always creating an empty llvm.compiler.used. With this patch we now first check if there is anything to be added first. Unfortunately, there is no good way to test libLTO in isolation as it needs gold or ld64, but there are bots doing LTO builds that found this problem. llvm-svn: 180202
-
Reid Kleckner authored
That seems to interact poorly with the environ and _environ macros defined in MSVC's <stdlib.h>. Also remove the incorrect comment about _NSGetEnviron(). llvm-svn: 180200
-
Arnold Schwaighofer authored
This makes it easier to read the code. No functionality change. llvm-svn: 180197
-
Arnold Schwaighofer authored
This patch disables memory-instruction vectorization for types that need padding bytes, e.g., x86_fp80 has 10 bytes store size with 6 bytes padding in darwin on x86_64. Because the load/store vectorization is performed by the bit casting to a packed vector, which has incompatible memory layout due to the lack of padding bytes, the present vectorizer produces inconsistent result for memory instructions of those types. This patch checks an equality of the AllocSize of a scalar type and allocated size for each vector element, to ensure that there is no padding bytes and the array can be read/written using vector operations. Patch by Daisuke Takahashi! Fixes PR15758. llvm-svn: 180196
-
Arnold Schwaighofer authored
llvm-svn: 180195
-
Rafael Espindola authored
This should bring the ppc bots back. I will try to write a test that would have found the problem on a little endian system too. llvm-svn: 180194
-
Andrew Trick authored
For now, we just reschedule instructions that use the copied vregs and let regalloc elliminate it. I would really like to eliminate the copies on-the-fly during scheduling, but we need a complete implementation of repairIntervalsInRange() first. The general strategy is for the register coalescer to eliminate as many global copies as possible and shrink live ranges to be extended-basic-block local. The coalescer should not have to worry about resolving local copies (e.g. it shouldn't attemp to reorder instructions). The scheduler is a much better place to deal with local interference. The coalescer side of this equation needs work. llvm-svn: 180193
-
Andrew Trick authored
When MachineScheduler is enabled, this functionality can be removed. Until then, provide a way to disable it for test cases and designing MachineScheduler heuristics. llvm-svn: 180192
-
Andrew Trick authored
llvm-svn: 180191
-
Rafael Espindola authored
llvm-svn: 180190
-
Rafael Espindola authored
Since the relocation iterator walks only the relocations in one section, we can just use a pointer and avoid fetching information about the section at every reference. llvm-svn: 180189
-
Eric Christopher authored
llvm-svn: 180188
-
Eric Christopher authored
llvm-svn: 180186
-
Bill Wendling authored
I know what would be cool! We should align the compact unwind section because aligned data access is faster. <rdar://problem/13723271> llvm-svn: 180171
-
Jia Liu authored
llvm-svn: 180169
-
Adrian Prantl authored
rdar://problem/12415623 llvm-svn: 180168
-
Andrew Trick authored
Super-resources and resource groups are two ways of expressing overlapping sets of processor resources. Now we generate table entries the same way for both so the scheduler never needs to explicitly check for super-resources. llvm-svn: 180162
-
Andrew Trick authored
llvm-svn: 180161
-
Andrew Trick authored
llvm-svn: 180160
-
Andrew Trick authored
llvm-svn: 180159
-
Eric Christopher authored
Patch by Tom Stellard. (Committed while he's afk per request) llvm-svn: 180157
-
- Apr 23, 2013
-
-
Andrew Kaylor authored
llvm-svn: 180150
-
Andrew Kaylor authored
llvm-svn: 180147
-
Andrew Kaylor authored
llvm-svn: 180146
-
Jyotsna Verma authored
llvm-svn: 180145
-
Jyotsna Verma authored
No functionality change. llvm-svn: 180144
-
Adrian Prantl authored
debug location. This solves a problem where range of an inlined subroutine is emitted wrongly. Patch by Manman Ren. Fixes rdar://problem/12415623 llvm-svn: 180140
-
Stephen Lin authored
Add more tests for r179925 to verify correct handling of signext/zeroext; strengthen condition check to require actual MVT::i32 virtual register types, just in case (no actual functionality change) llvm-svn: 180138
-