- Sep 07, 2015
-
-
David Majnemer authored
llvm-svn: 246954
-
NAKAMURA Takumi authored
llvm-svn: 246953
-
- Sep 06, 2015
-
-
Simon Pilgrim authored
llvm-svn: 246949
-
Simon Pilgrim authored
Only works for avx512f (dq) targets so far - need to add avx512bw tests once char/short shifts are supported. llvm-svn: 246943
-
David Majnemer authored
Trivial multiplication by zero may survive the worklist. We tried to reassociate the multiplication with a division instruction, causing us to divide by zero; bail out instead. This fixes PR24726. llvm-svn: 246939
-
Hal Finkel authored
In searching for a fix for the underlying code-quality bug highlighted by r246937 (that SDAG simplification can lead to us generating an ISD::OR node with a constant zero LHS), I ran across this: We generically canonicalize commutative binary-operation nodes in SDAG getNode so that, if only one operand is a constant, it will be on the RHS. However, we were doing this only after a bunch of constant-based simplification checks that all assume this canonical form (that any constant will be on the RHS). Moving the operand-swapping canonicalization prior to these checks seems like the right thing to do (and, as it turns out, causes SDAG to completely fold away the computation in test/CodeGen/ARM/2012-11-14-subs_carry.ll, just like InstCombine would do). llvm-svn: 246938
-
Hal Finkel authored
To commute a trivial rlwimi instructions (meaning one with a full mask and zero shift), we'd need to ability to form an all-zero mask (instead of an all-one mask) using rlwimi. We can't represent this, however, and we'll miscompile code if we try. The code quality problem that this highlights (that SDAG simplification can lead to us generating an ISD::OR node with a constant zero LHS) will be fixed as a follow-up. Fixes PR24719. llvm-svn: 246937
-
Craig Topper authored
llvm-svn: 246936
-
Andrew Wilkins authored
Summary: Update the Go bindings to DIBuilder to match the split of creating local variables into auto and parameter variables. Reviewers: pcc Subscribers: llvm-commits, axw Differential Revision: http://reviews.llvm.org/D11864 llvm-svn: 246935
-
- Sep 05, 2015
-
-
David Majnemer authored
This fixes PR24713. llvm-svn: 246933
-
Alexandros Lamprineas authored
Differential: http://reviews.llvm.org/D11590 llvm-svn: 246930
-
Simon Pilgrim authored
llvm-svn: 246927
-
Simon Pilgrim authored
llvm-svn: 246922
-
Simon Pilgrim authored
llvm-svn: 246921
-
Zoran Jovanovic authored
[mips][microMIPS] Implement ADD.fmt, SUB.fmt, MOV.fmt, MUL.fmt, DIV.fmt, MADDF.fmt, MSUBF.fmt and NEG.fmt instructions Differential Revision: http://reviews.llvm.org/D11978 llvm-svn: 246919
-
Andrew Wilkins authored
Summary: This diff attempts to address the concerns raised in http://reviews.llvm.org/D12488. We introduce a new USE_SHARED option to llvm_config, which, if set, causes the target to be linked against libLLVM. add_llvm_utility now uniformly disables linking against libLLVM. These utilities are not intended for distribution, and this keeps the option handling more centralised. llvm-shlib is now processes before any other "tools" subdirectories, ensuring the libLLVM target is defined before its dependents. One main difference from what was requested: llvm_config does not prune LLVM_DYLIB_COMPONENTS from the components passed into explicit_llvm_config. This is because the "all" component does something special, adding additional libraries (namely libLTO). Adding the component libraries after libLLVM should not be a problem, as symbols will be resolved in libLLVM first. Finally, I'm not really happy with the DISABLE_LLVM_LINK_LLVM option, but I'm not sure of a better way to get the following: - link all tools and shared libraries to libLLVM if LLVM_LINK_LLVM_DYLIB is set - some way of explicitly *not* doing so for utilities and libLLVM itself Suggestions for improvement here are particularly welcome. Reviewers: beanz Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D12590 llvm-svn: 246918
-
Craig Topper authored
llvm-svn: 246908
-
NAKAMURA Takumi authored
We want a deterministic output. GNU AS leaves it zero. FIXME: It may be optional by its user, like llc and clang. llvm-svn: 246905
-
Davide Italiano authored
This commit accomplish two goals: 1) it's a step forward to deprecate macho-dump, now less than 40 tests rely on it. 2) It tests all the MachO specific features introduced in llvm-readobj in the following commits: r246789, r246665, r246474. While the conversion is mostly mechanical (I double-checked all the tests output one by one, but still), a post-commit review is greatly appreciated. llvm-svn: 246904
-
Andrew Kaylor authored
llvm-svn: 246903
-
Hal Finkel authored
PPCISelDAGToDAG has a transformation that generates a rlwimi instruction from an input pattern that looks like this: and(or(x, c1), c2) but the associated logic does not work if there are bits that are 1 in c1 but 0 in c2 (these are normally canonicalized away, but that can't happen if the 'or' has other users. Make sure we abort the transformation if such bits are discovered. Fixes PR24704. llvm-svn: 246900
-
Andrew Kaylor authored
llvm-svn: 246899
-
Evgeniy Stepanov authored
The variable is actually called ANDROID_SERIAL. This was not exercised on the bots until today. Should fix the sanitizer-x86_64-linux failures. llvm-svn: 246898
-
Andrew Kaylor authored
llvm-svn: 246897
-
Andrew Kaylor authored
Differential Revision: http://reviews.llvm.org/D12434 llvm-svn: 246896
-
Kostya Serebryany authored
llvm-svn: 246888
-
- Sep 04, 2015
-
-
Davide Italiano authored
This was found while converting a test from macho-dump to llvm-readobj and will once I commit the converted test. llvm-svn: 246868
-
Yaron Keren authored
llvm-svn: 246865
-
Simon Pilgrim authored
llvm-svn: 246863
-
Peter Collingbourne authored
llvm-svn: 246862
-
Ben Craig authored
Also, test commit llvm-svn: 246855
-
Chad Rosier authored
llvm-svn: 246851
-
Silviu Baranga authored
llvm-svn: 246848
-
David Majnemer authored
Casting to unsigned long can cause the time to get truncated to 32-bits, making it appear to be a valid timestamp. Just use isUInt<32> instead. llvm-svn: 246840
-
NAKAMURA Takumi authored
llvm-svn: 246839
-
Richard Smith authored
should, rather than giving a broken value that doesn't even zero/sign-extend properly. llvm-svn: 246836
-
Steven Wu authored
Using generic neon syntax to avoid test failure on apple platforms. llvm-svn: 246833
-
Kostya Serebryany authored
[libFuzzer] when a single mutation fails try a few more times with other mutations before returning un-mutated data llvm-svn: 246828
-
Kostya Serebryany authored
llvm-svn: 246825
-
Hal Finkel authored
This adds a basic cost model for interleaved-access vectorization (and a better default for shuffles), and enables interleaved-access vectorization by default. The relevant difference from the default cost model for interleaved-access vectorization, is that on PPC, the shuffles that end up being used are *much* cheaper than modeling the process with insert/extract pairs (which are quite expensive, especially on older cores). llvm-svn: 246824
-