- Sep 04, 2013
-
-
Eric Christopher authored
in the module. Add a FIXME with a comment about darwin's ld. llvm-svn: 189902
-
Eric Christopher authored
llvm-svn: 189899
-
Rafael Espindola authored
Original message: If a constant or a function has linkonce_odr linkage and unnamed_addr, mark hidden. Being linkonce_odr guarantees that it is available in every dso that needs it. Being a constant/function with unnamed_addr guarantees that the copies don't have to be merged. llvm-svn: 189886
-
Daniel Dunbar authored
- This aligns with how existing test suites end up wanting to use the local config files, conceptually it makes sense to consider them to be inherited. llvm-svn: 189885
-
Jim Grosbach authored
Previously, the clang crash handling code would kick in and give a crash report for these, even though they're not that sort of error. rdar://14882264 llvm-svn: 189878
-
Michael Gottesman authored
llvm-svn: 189870
-
Michael Gottesman authored
The reason that I am turning off this optimization is that there is an additional case where a block can escape that has come up. Specifically, this occurs when a block is used in a scope outside of its current scope. This can cause a captured retainable object pointer whose life is preserved by the objc_retainBlock to be deallocated before the block is invoked. An example of the code needed to trigger the bug is: ---- \#import <Foundation/Foundation.h> int main(int argc, const char * argv[]) { void (^somethingToDoLater)(); { NSObject *obj = [NSObject new]; somethingToDoLater = ^{ [obj self]; // Crashes here }; } NSLog(@"test."); somethingToDoLater(); return 0; } ---- In the next commit, I remove all the dead code that results from this. Once I put in the fixing commit I will bring back the tests that I deleted in this commit. rdar://14802782. rdar://14868830. llvm-svn: 189869
-
Michael Gottesman authored
[objc-arc] Move some block tests from basic.ll -> retain-block.ll and add some missing CHECK-LABELS. llvm-svn: 189868
-
Bill Wendling authored
llvm-svn: 189864
-
Eric Christopher authored
llvm-svn: 189863
-
- Sep 03, 2013
-
-
Eric Christopher authored
hashing the contents of DW_FORM_data1 on top of a type with attributes. llvm-svn: 189862
-
Eric Christopher authored
llvm-svn: 189861
-
Nadav Rotem authored
This patch changes the default setting for the LateVectorization flag that controls where the loop-vectorizer is ran. Perf gains: SingleSource/Benchmarks/Shootout/matrix -37.33% MultiSource/Benchmarks/PAQ8p/paq8p -22.83% SingleSource/Benchmarks/Linpack/linpack-pc -16.22% SingleSource/Benchmarks/Shootout-C++/ary3 -15.16% MultiSource/Benchmarks/TSVC/NodeSplitting-flt/NodeSplitting-flt -10.34% MultiSource/Benchmarks/TSVC/NodeSplitting-dbl/NodeSplitting-dbl -7.12% Regressions: SingleSource/Benchmarks/Misc/lowercase 15.10% MultiSource/Benchmarks/TSVC/Equivalencing-flt/Equivalencing-flt 13.18% SingleSource/Benchmarks/Shootout-C++/matrix 8.27% SingleSource/Benchmarks/CoyoteBench/lpbench 7.30% llvm-svn: 189858
-
Matt Arsenault authored
llvm-svn: 189855
-
Matt Arsenault authored
This is another one that doesn't matter much, but uses the right GEP index types in the first place. llvm-svn: 189854
-
Matt Arsenault authored
This doesn't actually matter, since alloca is always 0 address space, but this is more consistent. llvm-svn: 189853
-
Bill Wendling authored
WIP: Refactor some code so that it can be called by more than just one method. No functionality change. llvm-svn: 189849
-
Eric Christopher authored
llvm-svn: 189848
-
Joerg Sonnenberger authored
separator between each two elements. llvm-svn: 189846
-
Jim Grosbach authored
This reverts commit r189648. Fixes for the previously failing clang-side arm_neon_intrinsics test cases will be checked in separately. llvm-svn: 189841
-
Eric Christopher authored
This won't affect the kinds of hashes we test for as we actually do hashing based on form and attribute. Change the fission-hash testcase one last time to handle DW_AT_comp_dir. llvm-svn: 189840
-
Vincent Lejeune authored
llvm-svn: 189839
-
Yi Jiang authored
1) If the width of vectorization list candidate is bigger than vector reg width, we will break it down to fit the vector reg. 2) We do not vectorize the width which is not power of two. The performance result shows it will help some spec benchmarks. mesa improved 6.97% and ammp improved 1.54%. llvm-svn: 189830
-
Joerg Sonnenberger authored
llvm-svn: 189829
-
Joey Gouly authored
A change to test the previous commit will be coming soon. llvm-svn: 189825
-
Eric Christopher authored
llvm-svn: 189824
-
Richard Sandiford authored
For now this just handles simple comparisons of an ANDed value with zero. The CC value provides enough information to do any comparison for a 2-bit mask, and some nonzero comparisons with more populated masks, but that's all future work. llvm-svn: 189819
-
Joey Gouly authored
llvm-svn: 189815
-
Evgeniy Stepanov authored
llvm-svn: 189796
-
Evgeniy Stepanov authored
Select condition shadow was being ignored resulting in false negatives. This change OR-s sign-extended condition shadow into the result shadow. llvm-svn: 189785
-
Daniel Sanders authored
This changes the SelectionDAG nodes from ISD::INTRINSIC_W_CHAIN to ISD::INTRINSIC_WO_CHAIN which enables easy lowering to equivalent SelectionDAG nodes (e.g. __builtin_msa_sub_w -> ISD::SUB) in future patches since nodes such as ISD::SUB do not have a chain. It also corrects an obvious mistake, namely that the subtract intrinsics were marked as being commutative. As per a similar change in r189106 (http://llvm.org/viewvc/llvm-project?rev=189106&view=rev) there isn’t a new testcase in this patch since the existing tests should test the intrinsics to the same standard and the best I can do for a testcase would be a fragile pass/maybe test of whether memory operations can (and do) cross the intrinsic. llvm-svn: 189784
-
Daniel Sanders authored
This changes the SelectionDAG nodes from ISD::INTRINSIC_W_CHAIN to ISD::INTRINSIC_WO_CHAIN which enables easy lowering to equivalent SelectionDAG nodes (e.g. __builtin_msa_fadd_w -> ISD::FADD) in future patches since nodes such as ISD::FADD do not have a chain. As per a similar change in r189106 (http://llvm.org/viewvc/llvm-project?rev=189106&view=rev) there isn’t a new testcase in this patch since the existing tests should test the intrinsics to the same standard and the best I can do for a testcase would be a fragile pass/maybe test of whether memory operations can (and do) cross the intrinsic. llvm-svn: 189782
-
Venkatraman Govindaraju authored
llvm-svn: 189780
-
Craig Topper authored
llvm-svn: 189779
-
- Sep 02, 2013
-
-
Venkatraman Govindaraju authored
llvm-svn: 189768
-
Tilmann Scheller authored
Test cases adjusted accordingly. This fixes rdar://14871821. llvm-svn: 189766
-
rdar://14871821Tilmann Scheller authored
What we really want is to enable Swift by default for *v7s triples (and there already seems to be some logic which attempts to do that). In that case the iOS version doesn't matter. llvm-svn: 189763
-
Tilmann Scheller authored
Test cases adjusted accordingly. This fixes rdar://14871821. llvm-svn: 189756
-
NAKAMURA Takumi authored
llvm-svn: 189755
-
NAKAMURA Takumi authored
llvm/test/CodeGen/X86: Update tests with -mattr=-bmi not to take BMI, corresponding to Craig's r189742. AMD Piledriver builder detected failures. llvm-svn: 189754
-