- Dec 06, 2016
-
-
Chris Bieneman authored
I broke this in r288770. llvm-svn: 288829
-
Joerg Sonnenberger authored
llvm-svn: 288828
-
Joerg Sonnenberger authored
"-mlinker-version=264.3.102" automatically. Wiring down a target on the other hand is problematic as this actually needs to run codegen and doesn't work with -###. llvm-svn: 288827
-
David Majnemer authored
We didn't implement handle corner cases like: - lambdas used to initialize a field - lambdas in default argument initializers This fixes PR31197. Differential Revision: https://reviews.llvm.org/D27226 llvm-svn: 288826
-
Simon Pilgrim authored
llvm-svn: 288825
-
Joerg Sonnenberger authored
Otherwise it would change when DEFAULT_SYSROOT is provided. llvm-svn: 288823
-
Joerg Sonnenberger authored
is seen, record one with the implicit default. llvm-svn: 288822
-
Joerg Sonnenberger authored
When integrating compilation database output into existing build systems, two approaches dominate so far. Ad-hoc implementation of the JSON output rules or using compiler wrappers. This patch adds a new option "-MJ foo.json" which gives a slightly cleaned up compilation record. The output is a fragment, i.e. you still need to add the array markers, but it allows multiple files to be easy merged. This way the only change in a build system is adding the option with potentially a per-target output file and merging the files with something like (echo '['; cat *.o.json; echo ']' > compilation_database.json or some additional filtering to remove the trailing comma for strict JSON compliance. Differential Revision: https://reviews.llvm.org/D27140 llvm-svn: 288821
-
Simon Pilgrim authored
llvm-svn: 288819
-
Jon Roelofs authored
llvm-svn: 288818
-
George Rimar authored
llvm-svn: 288817
-
George Rimar authored
OpenBSD commit for reference: https://github.com/openbsd/src/commit/d39116912b9536bd77326260dc5c6e593fd4ee24 llvm-svn: 288816
-
Simon Pilgrim authored
Test the sequential effect of each op llvm-svn: 288815
-
Simon Pilgrim authored
llvm-svn: 288814
-
Malcolm Parsons authored
Patch by Michael Sharpe. llvm-svn: 288813
-
Daniel Sanders authored
Summary: This is NFC but prevents assertions when PartialMappingIdx is tablegen-erated. The assumptions were: 1) FirstGPR is 0 2) FirstGPR is the first of the First* enumerators. GPR32 is changed to 1 to demonstrate that assumption #1 is fixed. #2 will be covered by a subsequent patch that tablegen-erates information and swaps the order of GPR and FPR as a side effect. Depends on D27336 Reviewers: ab, t.p.northover, qcolombet Subscribers: aemerson, rengolin, vkalintiris, dberris, rovka, llvm-commits Differential Revision: https://reviews.llvm.org/D27337 llvm-svn: 288812
-
Michael Kruse authored
This version includes an update for imath (isl-0.17.1-49-g2f1c129). It fixes the compilation under windows, which does not know ssize_t. In addition, isl-0.17.1-288-g0500299 changed the way isl_test finds the source directory. It now generates a file isl_srcdir.c at configure-time, containing the source path, to not require setting the environment variable "srcdir" at test-time. The cmake build system had to be modified to also generate that file. llvm-svn: 288811
-
Daniel Sanders authored
Reviewers: ab, t.p.northover, qcolombet Subscribers: aemerson, rengolin, vkalintiris, dberris, llvm-commits, rovka Differential Revision: https://reviews.llvm.org/D27336 llvm-svn: 288810
-
Daniel Sanders authored
llvm-svn: 288809
-
Rafael Espindola authored
If we do, the freebsd dynamic linker tries to call mmap with a size 0, which fails. It is hard to avoid creating them when linker scripts are used, so we just delete empty PT_LOADs at the end. llvm-svn: 288808
-
Simon Pilgrim authored
e.g. buildvector(sitofp(i32), sitofp(i32), sitofp(i32), sitofp(i32)) --> sitofp(buildvector(i32, i32, i32, i32)) llvm-svn: 288807
-
Oliver Stannard authored
When we see a non flag-setting instruction for which only the flag-setting version is available in Thumb1, we should give a better error message than "invalid instruction". Differential Revision: https://reviews.llvm.org/D27414 llvm-svn: 288805
-
Ayman Musa authored
Check if a build_vector node includes a repeated constant pattern and replace it with a broadcast of that pattern. For example: "build_vector <0, 1, 2, 3, 0, 1, 2, 3>" would be replaced by "broadcast <0, 1, 2, 3>" Differential Revision: https://reviews.llvm.org/D26802 llvm-svn: 288804
-
Rafael Espindola authored
For preemptable symbols the dynamic linker does all the work. Trying to compute the addend is at best wasteful and can also lead to crashes in cases of programs that uses tls but doesn't define any tls variables. llvm-svn: 288803
-
Rafael Espindola authored
llvm-svn: 288802
-
Simon Pilgrim authored
llvm-svn: 288801
-
Nemanja Ivanovic authored
This is the final patch in the series of patches that improves BUILD_VECTOR handling on PowerPC. This adds a few peephole optimizations to remove redundant instructions. It also adds a large test case which encompasses a large set of code patterns that build vectors - this test case was the motivator for this series of patches. Differential Revision: https://reviews.llvm.org/D26066 llvm-svn: 288800
-
Daniel Sanders authored
This also stops things like 'None' polluting the llvm::AArch64 namespace. llvm-svn: 288799
-
Simon Pilgrim authored
llvm-svn: 288798
-
Pavel Labath authored
llvm-svn: 288797
-
Simon Pilgrim authored
llvm-svn: 288796
-
Chandler Carruth authored
a hilarious bug and fix it. We somehow were never verifying the RefSCCs newly formed when splitting an existing one apart, and when verifying them we weren't really checking the SCC indices mapping effectively. If we had been, it would have been blindingly obvious that right after putting something int `RC.SCCs` we should update `RC.SCCIndices` instead of `SCCIndices` which we were about to clear and rebuild anyways. =[ Anyways, this is thoroughly covered by existing tests now that we actually verify things properly. llvm-svn: 288795
-
Florian Hahn authored
Summary: This patch makes sure FirstCSPop and MBBI never point to DBG_VALUE instructions, which affected the code generated. Reviewers: mkuper, aprantl, MatzeB Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D27343 llvm-svn: 288794
-
Benjamin Kramer authored
It should already be handled but a typo in the LANGSTANDARD() definition was introduced in r147220. Patch by Alexander Richardson, test case by me. Differential Revision:https://reviews.llvm.org/D27427 llvm-svn: 288793
-
Sam McCall authored
Summary: Add missing parens in assert, which warn in GCC. Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D27448 llvm-svn: 288792
-
Eric Liu authored
llvm-svn: 288791
-
Chandler Carruth authored
Just using InstIterator, simpler loop structures, and making better use of the visit callback infrastructure. llvm-svn: 288790
-
Eric Fiselier authored
Reverting because I didn't properly test this patch. Although it's probably correct to add a stdbool_h module I thought the change fixed more than it did. I'll re-commit after more investigation. llvm-svn: 288789
-
Dean Michael Berris authored
As constructed before this patch, in case we run into case where we don't actually build the XRay library, we really ought to not be adding the unit test runs. This should fix the bootstrap build failures. This is a follow-up further to D26232. llvm-svn: 288788
-
Eric Fiselier authored
llvm-svn: 288787
-