- Sep 30, 2015
-
-
John Brawn authored
When using LLVMConfig.cmake from an installed toolchain in order to build a loadable pass using add_llvm_loadable_module LLVM_ENABLE_PLUGINS and LLVM_PLUGIN_EXT must be set. Also make LLVM_DEFINITIONS be set to what it actually is. Differential Revision: http://reviews.llvm.org/D13214 llvm-svn: 248884
-
Tamas Berghammer authored
Currently most of the test files have a separate dwarf and a separate dsym test with almost identical content (only the build step is different). With adding dwo symbol file handling to the test suit it would increase this to a 3-way duplication. The purpose of this change is to eliminate this redundancy with generating 2 test case (one dwarf and one dsym) for each test function specified (dwo handling will be added at a later commit). Main design goals: * There should be no boilerplate code in each test file to support the multiple debug info in most of the tests (custom scenarios are acceptable in special cases) so adding a new test case is easier and we can't miss one of the debug info type. * In case of a test failure, the debug symbols used during the test run have to be cleanly visible from the output of dotest.py to make debugging easier both from build bot logs and from local test runs * Each test case should have a unique, fully qualified name so we can run exactly 1 test with "-f <test-case>.<test-function>" syntax * Test output should be grouped based on test files the same way as it happens now (displaying dwarf/dsym results separately isn't preferable) Proposed solution (main logic in lldbtest.py, rest of them are test cases fixed up for the new style): * Have only 1 test fuction in the test files what will run for all debug info separately and this test function should call just "self.build(...)" to build an inferior with the right debug info * When a class is created by python (the class object, not the class instance), we will generate a new test method for each debug info format in the test class with the name "<test-function>_<debug-info>" and remove the original test method. This way unittest2 see multiple test methods (1 for each debug info, pretty much as of now) and will handle the test selection and the failure reporting correctly (the debug info will be visible from the end of the test name) * Add new annotation @no_debug_info_test to disable the generation of multiple tests for each debug info format when the test don't have an inferior Differential revision: http://reviews.llvm.org/D13028 llvm-svn: 248883
-
Johannes Doerfert authored
llvm-svn: 248882
-
Johannes Doerfert authored
Before we unconditinoally forced all users outside the SCoP to use the preloaded value. However, if the SCoP is not executed due to the runtime checks, we need to use the original value because it might not be invariant in the first place. llvm-svn: 248881
-
Alexey Bataev authored
OpenMP 4.1 allows to use array sections|subscript expressions in 'reduction' clauses. Added sema analysis, updated tests. llvm-svn: 248880
-
Michael Kruse authored
This makes ScopInfo's scop member available earlier to other methods which will make some planned changes simpler. No behavioral change intended llvm-svn: 248879
-
Simon Pilgrim authored
The XOP shifts just have logical/arithmetic versions and the left/right shifts are controlled by whether the value is positive/negative. Because of this I've added new X86ISD nodes instead of trying to force them to use the existing shift nodes. Additionally Excavator cores (bdver4) support XOP and AVX2 - meaning that it should use the AVX2 shifts when it can and fall back to XOP in other cases. Differential Revision: http://reviews.llvm.org/D8690 llvm-svn: 248878
-
Rui Ueyama authored
llvm-svn: 248877
-
Rui Ueyama authored
llvm-svn: 248876
-
Rui Ueyama authored
llvm-svn: 248875
-
Rui Ueyama authored
llvm-svn: 248873
-
Justin Bogner authored
llvm-svn: 248872
-
Rui Ueyama authored
llvm-svn: 248871
-
Dehao Chen authored
http://reviews.llvm.org/D13145 llvm-svn: 248870
-
Dehao Chen authored
Fix the sample profile format that breaks in test http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/505 http://reviews.llvm.org/D13145 llvm-svn: 248869
-
Rui Ueyama authored
So that it is clear that we are incrementing the pointers for sure. NFC. llvm-svn: 248868
-
Richard Smith authored
specification) to an error. No compiler other than Clang seems to allow this, and it doesn't seem like a useful thing to accept as an extension in general. The current behavior was added for PR5957, where the problem was specifically related to mismatches of the exception specification on the implicitly-declared global operator new and delete. To retain that workaround, we downgrade the error to an ExtWarn when the declaration is of a replaceable global allocation function. Now that this is an error, stop trying (and failing) to recover from a missing computed noexcept specification. That recovery didn't work, and led to crashes in code like the added testcase. llvm-svn: 248867
-
Rui Ueyama authored
llvm-svn: 248866
-
Dehao Chen authored
Support hierarachical sample profile format. llvm-svn: 248865
-
Rui Ueyama authored
Also added brief comments. llvm-svn: 248864
-
Evgeniy Stepanov authored
llvm-svn: 248863
-
John McCall authored
with a non-reserved operator delete in a new-expression. llvm-svn: 248862
-
Johannes Doerfert authored
As a first step in the direction of assumed invariant loads (loads that are not written in some context) we now detect and hoist definitively invariant loads. These invariant loads will be preloaded in the code generation and used in the optimized version of the SCoP. If the load is only conditionally executed the preloaded version will also only be executed under the same condition, hence we will never access memory that wouldn't have been accessed otherwise. This is also the most distinguishing feature to licm. As hoisting can make statements empty we will simplify the SCoP and remove empty statements that would otherwise cause artifacts in the code generation. Differential Revision: http://reviews.llvm.org/D13194 llvm-svn: 248861
-
Johannes Doerfert authored
This reverts commit 07830c18d789ee72812d5b5b9b4f8ce72ebd4207. The commit broke at least one test in lnt, MultiSource/Benchmarks/Ptrdist/bc/number.c was miss compiled and the test produced a wrong result. One Polly test case that was added later was adjusted too. llvm-svn: 248860 -
Justin Bogner authored
llvm-svn: 248859
-
Marek Olsak authored
to prevent setting a huge stride, because DATA_FORMAT has a different meaning if ADD_TID_ENABLE is set. This is a candidate for stable llvm 3.7. Tested-and-Reviewed-by:Christian König <christian.koenig@amd.com> llvm-svn: 248858
-
Reid Kleckner authored
Previously local variable captures just didn't work in 64-bit. Now we can access local variables more or less correctly. llvm-svn: 248857
-
Rui Ueyama authored
Previous code had a potential portability issue because intptr_t is not guaranteed to be 64 bit. llvm-svn: 248856
-
Rafael Espindola authored
llvm-svn: 248855
-
Rafael Espindola authored
This is just enough for a hello world using a dynamic glibc. llvm-svn: 248854
-
Chris Bieneman authored
If we don't specify the arm target the float ABI compiler flags get ignored. llvm-svn: 248853
-
Chris Bieneman authored
We need to make sure that if you change the builtin filter lists CMake re-generates its configurations so it includes the right builtins in the generated libraries. llvm-svn: 248852
-
Rafael Espindola authored
They broke elf2/basic-mips.s. Revert "[elf2] Sort output sections." Revert "[elf2] Fix build." llvm-svn: 248851
-
Chris Bieneman authored
Summary: This ports functionality from the clang_macho_embedded.mk platform makefile over to CMake. Reviewers: bogner, samsonov, bob.wilson Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D13226 llvm-svn: 248850
-
Rui Ueyama authored
llvm-svn: 248849
-
Michael J. Spencer authored
llvm-svn: 248848
-
Todd Fiala authored
I'll track down what is happening here. llvm-svn: 248846
-
Michael J. Spencer authored
Sort by: ALLOC ALLOC && NOBITS ALLOC & EXEC ALLOC & EXEC && NOBITS ALLOC & WRITE ALLOC & WRITE && NOBITS <nothing> (ignoring NOBITS) The dynamic section is finalized early because it adds strings to the dynamic string table, which comes before the dynamic table. llvm-svn: 248845
-
Rui Ueyama authored
llvm-svn: 248844
-
Rui Ueyama authored
This test failed if being run more than once because of the remaining file of the last run. llvm-svn: 248843
-