- Sep 15, 2015
-
-
Rafael Espindola authored
We have to align the start, not the end. This should fix crashes on systems where memcpy enforces the expected alignment. llvm-svn: 247599
-
Gabor Horvath authored
Differential Revision: http://reviews.llvm.org/D12818 llvm-svn: 247598
-
John McCall authored
it escaped notice because it's only used for heterogeneous initialization. rdar://21397946 llvm-svn: 247597
-
Ed Maste authored
ExprCommandCallUserDefinedFunction::test_with_dwarf llvm.org/pr20274 llvm-svn: 247596
-
Gabor Horvath authored
llvm-svn: 247595
-
Ed Maste authored
In ConstVariableTestCase::test_with_dwarf_and_run_command - the test fails with Clang (and presumably ICC) also on FreeBSD. llvm-svn: 247594
-
David Blaikie authored
[opaque pointer type] Fix a few uses of PointerType::getElementType in favor of uses of types already available elsewhere These are a few cleanups I happened to have from trying to go in a different direction recently, so just flushing them out while I have them. llvm-svn: 247593
-
Chris Bieneman authored
This is required because ExternalProject_Add requires all targets specified in the DEPENDS argument must exist before calling ExternalProject_Add. llvm-svn: 247592
-
Todd Fiala authored
llvm-svn: 247591
-
Gabor Horvath authored
Differential Revision: http://reviews.llvm.org/D12852 llvm-svn: 247590
-
Jim Ingham authored
llvm-svn: 247589
-
Matthias Braun authored
- There are no duplicate registers in LiveRegs list we are copying from and so we do not need to sort the registers. - Simply use SmallVector::apend instead of a loop between begin() and end() with push_back(). Differential Revision: http://reviews.llvm.org/D12813 llvm-svn: 247588
-
Chen Li authored
Summary: This patch replaces isKnownNonNull() with isKnownNonNullAt() when checking nullness of passing arguments at callsite. In this way it can handle cases where the argument does not have nonnull attribute but has a dominating null check from the CFG. It also adds assertions in isKnownNonNull() and isKnownNonNullFromDominatingCondition() to make sure the value checked is pointer type (as defined in LLVM document). These assertions might trip failures in things which are not covered under llvm/test, but fixes should be pretty obvious. Reviewers: reames Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D12779 llvm-svn: 247587
-
David Blaikie authored
This was the wrong direction to take anyway (because ultimately the GlobalValue needed the pointee type again and /it/ used PointerType::getElementType eventually anyway)... let's go a different way. This reverts commit r236161. llvm-svn: 247586
-
David Blaikie authored
Revert "[opaque pointer type] Pass GlobalAlias the actual pointer type rather than decomposing it into pointee type + address space" This was a flawed change - it just caused the getElementType call to be deferred until later, when we really need to remove it. Now that the IR for GlobalAliases has been updated, the root cause is addressed that way instead and this change is no longer needed (and in fact gets in the way - because we want to pass the pointee type directly down further). Follow up patches to push this through GlobalValue, bitcode format, etc, will come along soon. This reverts commit 236160. llvm-svn: 247585
-
Samuel Antao authored
This was causing an error in Power8 targets. llvm-svn: 247584
-
Jonathan Peyton authored
This change deletes the Makefile+Perl build system and all files used by it which aren't used by the CMake build system. This included many Perl files, *.mk files, iomp* files. This change also updates the README's and index.html to instruct the user to use the CMake build system. All mentioning of the Perl+Makefile based system are removed. Differential Revision: http://reviews.llvm.org/D12331 llvm-svn: 247583
-
Davide Italiano authored
This is a follow up to r247518. As a general note, I think we could do a much better job testing for error conditions in tools. I already anticipated in a previous mail, but while implementing this I noticed that the code coverage we have for error checking is pretty low. I can arbitrarily remove checks from several tools and the suite still passes. Differential Revision: http://reviews.llvm.org/D12846 llvm-svn: 247582
-
Michael Kruse authored
Summary: Make clang-format run on each file independently using add_custom_format (instead using a shell script in utils/). The targets polly-{update|check}-format depend on these. The primary motivation is to make them work on Windows, but also improves them generally: - Each file update/check can run in parallel (Although they do not take long to run anyway) - Implicit dependency on clang-format, so it recompiles if necessary - polly-check-format shows the formatting difference if failing Differential Revision: http://reviews.llvm.org/D12837 llvm-svn: 247581 -
Alexander Kornienko authored
llvm-svn: 247580
-
Stephane Sezer authored
Summary: Linux and FreeBSD occasionally send SI_KERNEL codes, nonexistent on other platforms. Problem caught on NetBSD. Reviewers: joerg, sas Subscribers: sas, lldb-commits, emaste Differential Revision: http://reviews.llvm.org/D12659 Change by Kamil Rytarowski <n54@gmx.com> llvm-svn: 247579
-
Alexander Kornienko authored
This turned out to be a rather noisy check, so automated fixes will only do harm. Remove them completely. llvm-svn: 247578
-
Adrian Prantl authored
llvm-svn: 247577
-
Todd Fiala authored
TestCallStdStringFunction TestCallWithTimeout TestConstVariables TestClassTypes llvm-svn: 247576
-
Jun Bum Lim authored
In vectorized integer min/max reduction code, the final "reduce" step is sub-optimal. In AArch64, this change wll combine : %svn0 = vector_shuffle %0, undef<2,3,u,u> %smax0 = smax %0, svn0 %svn3 = vector_shuffle %smax0, undef<1,u,u,u> %sc = setcc %smax0, %svn3, gt %n0 = extract_vector_elt %sc, #0 %n1 = extract_vector_elt %smax0, #0 %n2 = extract_vector_elt $smax0, #1 %result = select %n0, %n1, n2 becomes : %1 = smaxv %0 %result = extract_vector_elt %1, 0 This change extends r246790. llvm-svn: 247575
-
Pavel Labath authored
the test does not know how to run executables on the remote platform. llvm-svn: 247574
-
- Sep 14, 2015
-
-
Daniel Sanders authored
Summary: These operands had the same purpose, however the MipsMemSimm9GPRAsmOperand operand was only for micromips32r6 and the MipsMemSimm9AsmOperand did not have a ParserMatchClass. Patch by Scott Egerton Reviewers: vkalintiris, dsanders Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D12730 llvm-svn: 247573
-
Michael Kruse authored
ArrayRef avoids making implementation details such as the number of stack elements to be part of the function signature. llvm-svn: 247572
-
Tamas Berghammer authored
The iterator pointing to an element of a dense map was used after the element from was removed from the map what isn't guaranteed to be valid at that time. llvm-svn: 247571
-
JF Bastien authored
GetElementPointers must have the first argument's type compared for structural equivalence. Previously the code erroneously compared the pointer's type, but this code was dead because all pointer types (of the same address space) are the same. The pointee must be compared instead (using the type stored in the GEP, not from the pointer type which will be erased anyway). Author: jrkoenig Reviewers: dschuff, nlewycky, jfb Subscribers: nlewycky, llvm-commits Differential revision: http://reviews.llvm.org/D12820 llvm-svn: 247570
-
John Brawn authored
Turning (op x (mul y k)) into (op x (lsl (mul y k>>n) n)) is beneficial when we can do the lsl as a shifted operand and the resulting multiply constant is simpler to generate. Do this by doing the transformation when trying to select a shifted operand, as that ensures that it actually turns out better (the alternative would be to do it in PreprocessISelDAG, but we don't know for sure there if extracting the shift would allow a shifted operand to be used). Differential Revision: http://reviews.llvm.org/D12196 llvm-svn: 247569
-
Ed Maste authored
Patch by Kamil Rytarowski. Differential Revision: http://reviews.llvm.org/D12746 llvm-svn: 247568
-
Todd Fiala authored
Related to these two test case classes: test/driver/batch_mode/TestBatchMode.py test/functionalities/inferior-assert/TestInferiorAssert.py llvm-svn: 247567
-
Ed Maste authored
One or more of these tests failed in 25 of 100 dotest.py runs. llvm-svn: 247566
-
Ed Maste authored
This test passes locally but was disabled due to pexpect issues on the FreeBSD buildbot. That buildbot has been retired as it was overloaded, and we will investigate again if this fails once a new buildbot is in place. Noted by John Wolfe. llvm.org/pr22784 This re-applies r247013. llvm-svn: 247565
-
Ed Maste authored
llvm.org/pr18533 llvm-svn: 247564
-
Ed Maste authored
llvm.org/pr24282 llvm-svn: 247563
-
Ed Maste authored
This test passes locally but was marked XFAIL due to failures on the FreeBSD buildbot. That buildbot has been retired as it was overloaded, and we will investigate again if this fails once a new buildbot is in place. llvm.org/pr23747 llvm-svn: 247562
-
Ed Maste authored
It is now used only by the FreeBSD in-process ptrace implementation. llvm-svn: 247561
-
Rachel Craik authored
Remove some trailing whitespace llvm-svn: 247560
-