summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* add tests for De Morgan instcombines based on PR22723Sanjay Patel2015-09-081-0/+38
| | | | llvm-svn: 247040
* fix typos, remove noise; NFCISanjay Patel2015-09-081-23/+24
| | | | llvm-svn: 247035
* [libFuzzer] better documentatio for -save_minimized_corpus=1Kostya Serebryany2015-09-082-2/+3
| | | | llvm-svn: 247033
* [Bitcode] Add compatibility test for llvm 3.7.0Vedant Kumar2015-09-082-0/+1280
| | | | | | | This patch adds llvm-3.7 IR and generated bitcode for our compatibility test (in accordance with the developer policy). llvm-svn: 247031
* [libFuzzer] remove -iterations as redundant (there is also -num_runs)Kostya Serebryany2015-09-084-7/+4
| | | | llvm-svn: 247030
* WebAssembly: NFC rename shr/sarJF Bastien2015-09-084-8/+8
| | | | | | Renamed from: https://github.com/WebAssembly/design/pull/332 llvm-svn: 247028
* [libFuzzer] add one more mutator: Mutate_ChangeASCIIIntegerKostya Serebryany2015-09-083-0/+67
| | | | llvm-svn: 247027
* Remove white space (test commit)Jun Bum Lim2015-09-081-1/+1
| | | | llvm-svn: 247021
* [mips][microMIPS] Implement LLE, LUI, LW and LWE instructionsZoran Jovanovic2015-09-085-1/+96
| | | | | | Differential Revision: http://reviews.llvm.org/D1179 llvm-svn: 247017
* [WebAssembly] Temporarily disable this test, as it depends on additional ↵Dan Gohman2015-09-081-0/+3
| | | | | | patches that aren't yet checked in. llvm-svn: 247011
* AVX512: kunpck encoding implementation Igor Breger2015-09-085-18/+55
| | | | | | | | Added tests for encoding. Differential Revision: http://reviews.llvm.org/D12061 llvm-svn: 247010
* [WebAssembly] Enable SSA lowering and other pre-regalloc passesDan Gohman2015-09-082-1/+43
| | | | llvm-svn: 247008
* Removed an old comment, NFCElena Demikhovsky2015-09-081-2/+0
| | | | llvm-svn: 247006
* MIRLangRef: Add documentation for the subregister indices.Alex Lorenz2015-09-081-2/+19
| | | | llvm-svn: 247005
* MIRLangRef: Add documentation for the global value machine operands.Alex Lorenz2015-09-081-1/+22
| | | | llvm-svn: 247004
* [mips][microMIPS] Implement SB, SBE, SCE, SH and SHE instructionsZoran Jovanovic2015-09-088-2/+124
| | | | | | Differential Revision: http://reviews.llvm.org/D11801 llvm-svn: 246999
* There is a trunc(lshr (zext A), Cst) optimization in InstCombineCasts thatJakub Kuderski2015-09-082-0/+57
| | | | | | | | | | | removes cast by performing the lshr on smaller types. However, currently there is no trunc(lshr (sext A), Cst) variant. This patch add such optimization by transforming trunc(lshr (sext A), Cst) to ashr A, Cst. Differential Revision: http://reviews.llvm.org/D12520 llvm-svn: 246997
* [mips] Reserve address spaces 1-255 for software use.Daniel Sanders2015-09-082-0/+20
| | | | | | | | | | | | Summary: And define them to have noop casts with address spaces 0-255. Reviewers: pekka.jaaskelainen Subscribers: pekka.jaaskelainen, llvm-commits Differential Revision: http://reviews.llvm.org/D12678 llvm-svn: 246990
* [mips][microMIPS] Add microMIPS32r6 and microMIPS64r6 tests for existing ↵Zoran Jovanovic2015-09-088-2/+65
| | | | | | | | 16-bit LBU16, LHU16, LW16, LWGP and LWSP instructions Differential Revision: http://reviews.llvm.org/D10956 llvm-svn: 246987
* [CMake][CMP0051] Avoid for user of objlib to use llvm_update_compile_flags().NAKAMURA Takumi2015-09-081-2/+8
| | | | | | $<TARGET_OBJECTS> shouldn't require compile flags. Flags are set in obj.${name}. llvm-svn: 246984
* compilation issue, NFCElena Demikhovsky2015-09-081-3/+3
| | | | llvm-svn: 246983
* fixed compilation issue, NFC.Elena Demikhovsky2015-09-081-3/+3
| | | | llvm-svn: 246982
* AVX-512: Lowering for 512-bit vector shuffles.Elena Demikhovsky2015-09-087-574/+691
| | | | | | | | Vector types: <8 x 64>, <16 x 32>, <32 x 16> float and integer. Differential Revision: http://reviews.llvm.org/D10683 llvm-svn: 246981
* [llvm-readobj] Shrink code a little bit. No functional change.Davide Italiano2015-09-071-36/+9
| | | | llvm-svn: 246976
* add missing regression tests for De Morgan's Law transform in InstCombineSanjay Patel2015-09-072-2/+20
| | | | llvm-svn: 246973
* [mips][microMIPS] Implement ABS.fmt, CEIL.L.fmt, CEIL.W.fmt, FLOOR.L.fmt, ↵Zoran Jovanovic2015-09-077-13/+245
| | | | | | | | FLOOR.W.fmt, TRUNC.L.fmt, TRUNC.W.fmt, RSQRT.fmt and SQRT.fmt instructions Differential Revision: http://reviews.llvm.org/D11674 llvm-svn: 246968
* [mips][microMIPS] Implement BC16, BEQZC16 and BNEZC16 instructionsZoran Jovanovic2015-09-0712-10/+126
| | | | | | Differential Revision: http://reviews.llvm.org/D11181 llvm-svn: 246963
* [ARM] Get rid of SelectT2ShifterOperandReg, NFCJohn Brawn2015-09-072-26/+2
| | | | | | | | | SelectT2ShifterOperandReg has identical behaviour to SelectImmShifterOperand, so get rid of it and use SelectImmShifterOperand instead. Differential Revision: http://reviews.llvm.org/D12195 llvm-svn: 246962
* [mips][microMIPS] Implement CVT.D.fmt, CVT.L.fmt, CVT.S.fmt, CVT.W.fmt, ↵Zoran Jovanovic2015-09-078-58/+590
| | | | | | | | MAX.fmt, MIN.fmt, MAXA.fmt, MINA.fmt and CMP.condn.fmt instructions Differential Revision: http://reviews.llvm.org/D12141 llvm-svn: 246960
* CODE_OWNERS.TXT is supposed to be sorted by surnameDavid Majnemer2015-09-071-4/+4
| | | | llvm-svn: 246954
* Prune utf8 chars in comments.NAKAMURA Takumi2015-09-072-3/+3
| | | | llvm-svn: 246953
* [X86][MMX] Added missing stack folding tests for MMX/SSSE3 instructionsSimon Pilgrim2015-09-061-2/+146
| | | | llvm-svn: 246949
* [X86][AVX512] Added 512-bit vector shift tests.Simon Pilgrim2015-09-063-0/+894
| | | | | | Only works for avx512f (dq) targets so far - need to add avx512bw tests once char/short shifts are supported. llvm-svn: 246943
* [InstCombine] Don't divide by zero when evaluating a potential transformDavid Majnemer2015-09-062-0/+26
| | | | | | | | | | 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
* [SelectionDAG] Swap commutative binops before constant-based foldingHal Finkel2015-09-062-9/+14
| | | | | | | | | | | | | | | | | 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
* [PowerPC] Don't commute trivial rlwimi instructionsHal Finkel2015-09-062-0/+97
| | | | | | | | | | | | | | | 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
* [TableGen] Use make_unique. NFC.Craig Topper2015-09-061-3/+3
| | | | llvm-svn: 246936
* [bindings] Update Go bindings to DIBuilderAndrew Wilkins2015-09-063-22/+59
| | | | | | | | | | | | | | | 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
* [InstCombine] Don't assume m_Mul gives back an InstructionDavid Majnemer2015-09-052-1/+12
| | | | | | This fixes PR24713. llvm-svn: 246933
* Added arch extensions and default target features in TargetParser.Alexandros Lamprineas2015-09-053-128/+205
| | | | | Differential: http://reviews.llvm.org/D11590 llvm-svn: 246930
* [X86] Updated vector lzcnt tests. Added missing vec512 tests.Simon Pilgrim2015-09-053-118/+1526
| | | | llvm-svn: 246927
* [X86] Updated vector tzcnt tests. Added vec512 tests.Simon Pilgrim2015-09-053-12/+975
| | | | llvm-svn: 246922
* [X86] Updated vector popcnt tests. Added vec512 tests.Simon Pilgrim2015-09-053-44/+200
| | | | llvm-svn: 246921
* [mips][microMIPS] Implement ADD.fmt, SUB.fmt, MOV.fmt, MUL.fmt, DIV.fmt, ↵Zoran Jovanovic2015-09-057-4/+255
| | | | | | | | MADDF.fmt, MSUBF.fmt and NEG.fmt instructions Differential Revision: http://reviews.llvm.org/D11978 llvm-svn: 246919
* [cmake] rework LLVM_LINK_LLVM_DYLIB option handlingAndrew Wilkins2015-09-055-61/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix build warning.Craig Topper2015-09-051-1/+1
| | | | llvm-svn: 246908
* WinCOFFObjectWriter.cpp: Roll back TimeDateStamp along ENABLE_TIMESTAMPS.NAKAMURA Takumi2015-09-051-0/+5
| | | | | | | 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
* [MC] Convert other MachO tests from macho-dump to llvm-readobj.Davide Italiano2015-09-0523-2603/+3261
| | | | | | | | | | | | | | | 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
* Fix build warningAndrew Kaylor2015-09-051-2/+2
| | | | llvm-svn: 246903
* [PowerPC] Fix and(or(x, c1), c2) -> rlwimi generationHal Finkel2015-09-052-3/+42
| | | | | | | | | | | | | | | | 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
OpenPOWER on IntegriCloud