- Jun 28, 2016
-
-
Easwaran Raman authored
Differential revision: http://reviews.llvm.org/D21690 llvm-svn: 273952
-
Sanjay Patel authored
[InstCombine] shrink type of sdiv if dividend is sexted and constant divisor is small enough (PR28153) This should fix PR28153: https://llvm.org/bugs/show_bug.cgi?id=28153 Differential Revision: http://reviews.llvm.org/D21769 llvm-svn: 273951
-
Chris Dewhurst authored
llvm-svn: 273950
-
Chris Dewhurst authored
This change reverts a "false" test that was placed to avoid regressions while the atomics pass was completed for the Sparc back-ends. llvm-svn: 273949
-
- Jun 27, 2016
-
-
Yaxun Liu authored
"chmod u-x *" does not work for lit on cygwin. llvm-svn: 273948
-
Matt Arsenault authored
Not sure this actually changes anything llvm-svn: 273947
-
Kevin Enderby authored
allow a good error message to be produced. I added the one test case that the object file tools could produce an error message. The other two errors can’t be triggered if the input file is passed through sys::fs::identify_magic(). But the malformedError("bad magic number") does get triggered by the logic in llvm-dsymutil when dealing with a normal Mach-O file. The other "File too small ..." error would take a logic error currently to produce and is not tested for. llvm-svn: 273946
-
Rafael Espindola authored
llvm-svn: 273945
-
Rafael Espindola authored
In all its uses it was equivalent to IsNotPIC. llvm-svn: 273943
-
Chris Bieneman authored
Should fix the last LLD bots. llvm-svn: 273942
-
Miklos Vajna authored
As it failed on e.g. <http://lab.llvm.org:8011/builders/clang-ppc64be-linux/builds/7089/steps/ninja%20check%201/logs/FAIL%3A%20Clang%20Tools%3A%3AClassTestReplacements.cpp> with: Trouble iterating over directory '/home/buildbots/ppc64be-clang-test/clang-ppc64be/stage1/tools/clang/tools/extra/test/clang-rename/Output': No such file or directory A reliable way to trigger the problem locally is to run all clang-rename tests in parallel in a loop: for i in $(seq 1 100); do ~/git/llvm/workdir/bin/llvm-lit -v -j15 . || break; done Change the test script to be more similar to test/Tooling/clang-check.cpp, that way the above command doesn't fail for me anymore. llvm-svn: 273941
-
Matt Arsenault authored
llvm-svn: 273940
-
Chris Bieneman authored
Should fix the last LLD bots. llvm-svn: 273939
-
Davide Italiano authored
binutils ar uses -plugin to specify the LTO plugin, but LLVM doesn't need this as it doesn't use a plugin for LTO. Accepting (and ignoring) the option allows interoperability with existing build systems and make downstream consumers life much easier. No objections from Rafael on this change. llvm-svn: 273938
-
Matt Arsenault authored
llvm-svn: 273937
-
Sanjay Patel authored
llvm-svn: 273936
-
Justin Holewinski authored
Reviewers: jingyue, jlebar Subscribers: jholewinski Differential Revision: http://reviews.llvm.org/D21756 llvm-svn: 273922
-
Rafael Espindola authored
Fixes a fixme about handling other visibilities. llvm-svn: 273921
-
Chris Bieneman authored
This removed the -format flag from yaml2obj in favor of YAML tags. llvm-svn: 273920
-
Elena Demikhovsky authored
The bug is connected to vector GEPs. https://llvm.org/bugs/show_bug.cgi?id=28313 llvm-svn: 273919
-
Chris Bieneman authored
This should fix the broken bots. llvm-svn: 273918
-
Lang Hames authored
llvm-svn: 273917
-
Matt Arsenault authored
Also fix pointlessly adding exec to liveins. llvm-svn: 273916
-
Chris Bieneman authored
Summary: Our YAML library's handling of tags isn't perfect, but it is good enough to get rid of the need for the --format argument to yaml2obj. This patch does exactly that. Instead of requiring --format, it infers the format based on the tags found in the object file. The supported tags are: !ELF !COFF !mach-o !fat-mach-o I have a corresponding patch that is quite large that fixes up all the in-tree test cases. Reviewers: rafael, Bigcheese, compnerd, silvas Subscribers: compnerd, llvm-commits Differential Revision: http://reviews.llvm.org/D21711 llvm-svn: 273915
-
Sumanth Gundapaneni authored
The triple must be parsed in base-config-ix.cmake. Otherwise, the cmake variable ANDROID won't be set and this will confuse cmake to build unsupported targets targeted for android. Diferential revision: http://reviews.llvm.org/D21474 llvm-svn: 273914
-
Richard Smith authored
already used this to find and reduce quite a few bugs, and it works pretty well if you can find the right patterns. llvm-svn: 273913
-
Matt Arsenault authored
Code already assumes this is float. getFPAccuracy() crashes on any other type. llvm-svn: 273912
-
George Burgess IV authored
This fixes a crash in code like: ``` struct A { struct B b; char c[1]; } int foo(struct A* a) { return __builtin_object_size(a->c, 0); } ``` We wouldn't check whether the structs we were examining were invalid, and getting the layout of an invalid struct is (unsurprisingly) A Bad Thing. With this patch, we'll always return conservatively if we see an invalid struct, since I'm assuming the presence of an invalid struct means that our compilation failed (so having a conservative result isn't such a big deal). llvm-svn: 273911
-
Miklos Vajna authored
Use case: a class is declared in a header, and defined in two translation units. clang-rename is asked to rename a class member that's referenced in both translation units. Using -i is not possible, as in case the first clang-rename invocation touches the header, the second invocation will result in compilation errors. Using -export-fixes handles this situation, each invocation can work on the original source, and at the end the user can apply the replacements with clang-apply-replacements. Reviewers: klimek Differential Revision: http://reviews.llvm.org/D21676 llvm-svn: 273910
-
Matt Arsenault authored
llvm-svn: 273909
-
Kelvin Li authored
Clang fails to diagnose cases such as #pragma omp target while(0) { #pragma omp teams {} } A patch by David Sheinkman. llvm-svn: 273908
-
Rafael Espindola authored
llvm-svn: 273907
-
Michael Kruse authored
The case is described in llvm.org/PR28071 which was fixed in the previous commit. llvm-svn: 273906
-
Michael Kruse authored
Reject and report regions that contains loops overlapping nonaffine region. This situation typically happens in the presence of inifinite loops. This addresses bug llvm.org/PR28071. Differential Revision: http://reviews.llvm.org/D21312 Contributed-by:
Huihui Zhang <huihuiz@codeaurora.org> llvm-svn: 273905
-
Sanjay Patel authored
There's at least one more fold to do here: https://llvm.org/bugs/show_bug.cgi?id=28153 llvm-svn: 273904
-
Rafael Espindola authored
llvm-svn: 273903
-
George Burgess IV authored
This uses `1U` instead of `1ULL` because StratifiedAttrs is a 32-bit bitset. Thanks to Hans-Bernhard Broker for bringing this up. llvm-svn: 273902
-
Daniel Berlin authored
NFC. llvm-svn: 273901
-
Rafael Espindola authored
llvm-svn: 273900
-
Elena Demikhovsky authored
Fixed a bug in EmitTest() function in combining shl + icmp. https://llvm.org/bugs/show_bug.cgi?id=28119 llvm-svn: 273899
-