- Feb 15, 2016
-
-
Simon Pilgrim authored
llvm-svn: 260885
-
Johannes Doerfert authored
This reverts commit 98efa006c96ac981c00d2e386ec1102bce9f549a. The fix was broken since we do not use AA in the ScopDetection anymore to check for invariant accesses. llvm-svn: 260884
-
Jonas Hahnfeld authored
1. Add two explicit -stdlib=libstdc++ in conjunction with -static-libstdc++ 2. Pass -nostdinc++ when adding include paths for libc++ built for tsan. This prevents clang finding the headers twice which would confuse #include_next Differential Revision: http://reviews.llvm.org/D17189 llvm-svn: 260883
-
Andrey Bokhanko authored
In my previous commit (rL260881) I forget to svn add tests. This commit adds them. Differential Revision: http://reviews.llvm.org/D16846 llvm-svn: 260882
-
Andrey Bokhanko authored
This patch fixes the following bugs in __builtin_classify_type implementation: 1) Support for member functions and fields 2) Same behavior as GCC in C mode (specifically, return integer_type_class for enums and pointer_type_class for function pointers and arrays). Behavior in C++ mode didn't changed. Also, it refactors the whole implementation, by replacing a sequence of if-else-if with a couple of switches. Differential Revision: http://reviews.llvm.org/D16846 llvm-svn: 260881
-
Scott Egerton authored
llvm-svn: 260880
-
Scott Egerton authored
Summary: This section is used for debug information and has no need to be in memory at runtime. With this patch, LLVM now emits the same flags as the GNU assembler. This patch also fixes an error when compiling the Linux kernel, The error is that there are relocations within the .pdr section in a VDSO. Reviewers: vkalintiris, dsanders Subscribers: llvm-commits, dsanders Differential Revision: http://reviews.llvm.org/D17199 llvm-svn: 260879
-
Igor Breger authored
If KMOVB not supported (require AVX512DQ) only KMOVW can be used so store size should be 2 bytes. Differential Revision: http://reviews.llvm.org/D17138 llvm-svn: 260878
-
Alexey Bataev authored
Sync barrier will be emitted after generation of firstprivate variables only if one of the firstprivate vars is used in lastprivate clause. llvm-svn: 260877
-
Zia Ansari authored
Fixed non-NULL terminating array bug in SanitizerCommon.StartSubprocessTest that caused them to fail sometimes and act flaky. Differential Revision: http://reviews.llvm.org/D17228 llvm-svn: 260876
-
Junmo Park authored
llvm-svn: 260875
-
NAKAMURA Takumi authored
llvm-svn: 260874
-
Felix Berger authored
Summary: This patch is a continuation of http://reviews.llvm.org/D10553 by Jonathan B Coe. The main additions are: 1. For C++11 the check suggests in-class field initialization as fix. This makes the fields future proof towards the addition of new constructors. 2 For older language versions the fields are added in the right position in the initializer list with more tests. 3. User documentation. Reviewers: alexfh, jbcoe Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D16517 llvm-svn: 260873
-
Felix Berger authored
Summary: The isAnyPointer() matcher is useful for http://reviews.llvm.org/D15623. Reviewers: alexfh, klimek Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D15819 llvm-svn: 260872
-
Saleem Abdulrasool authored
Silence 4 -Wcast-qual warnings from GCC 5.1. NFC. llvm-svn: 260871
-
Felix Berger authored
Summary: Fix oversight not checking the value of the Optional<bool> returned by isExpensiveToCopy(). Reviewers: alexfh Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D17064 llvm-svn: 260870
-
Felix Berger authored
llvm-svn: 260869
-
Saleem Abdulrasool authored
Silence a -Wreorder warning about order of member initialization and a -Wqual-cast warning about casting away constness. NFC. llvm-svn: 260868
-
Saleem Abdulrasool authored
In the case that the array indexing itself is within a type dependent context, bail out of the evaluation. We would previously try to symbolically evaluate the expression which would then try to evaluate a non-address expression as an address, triggering an assertion in Asserts builds. We only need to consider the array subscript expression itself as in the case that the base itself being type dependent is handled appropriately in EvalAddr. Resolves PR26599. llvm-svn: 260867
-
Argyrios Kyrtzidis authored
Enable it for USRs and names when indexing. Forward references can have different template argument names; including them makes USRs and names unstable, since the name depends on whether we saw a forward reference or not. llvm-svn: 260866
-
Saleem Abdulrasool authored
These codepaths would generate warnings with GCC on linux even though the switch was covered. Add llvm_unreachable markers to indicate that the switch should be covered. NFC. llvm-svn: 260865
-
Saleem Abdulrasool authored
Propagate const throughout these methods as they are non-mutating analyzers of state. NFC. llvm-svn: 260864
-
Hongbin Zheng authored
Eliminate the global variable "InsnToMemAcc" to make Scop/ScopInfo become more protable, such that we can safely use them in a CallGraphSCC pass. Differential Revision: http://reviews.llvm.org/D17238 llvm-svn: 260863
-
Johannes Doerfert authored
Before this patch it could happen that we did not hoist a load that was a base pointer of another load even though AA already declared the first one as invariant (during ScopDetection). If this case arises we will now skipt the "can be overwriten" check because in this case the over-approximating nature causes us to generate broken code. llvm-svn: 260862
-
Argyrios Kyrtzidis authored
llvm-svn: 260861
-
Johannes Doerfert authored
The former ScopArrayInfo::updateSizes was implicitly divided into an updateElementType and an updateSizes. Now this partitioning is explicit. llvm-svn: 260860
-
Johannes Doerfert authored
So far we separated constant factors from multiplications, however, only when they are at the outermost level of a parameter SCEV. Now, we also separate constant factors from the parameter SCEV if the outermost expression is a SCEVAddRecExpr. With the changes to the SCEVAffinator we can now improve the extractConstantFactor(...) function at will without worrying about any other code part. Thus, if needed we can implement a more comprehensive extractConstantFactor(...) function that will traverse the SCEV instead of looking only at the outermost level. Four test cases were affected. One did not change much and the other three were simplified. llvm-svn: 260859
-
Argyrios Kyrtzidis authored
[index] Factor libclang's functionality to determing the mangled name of symbols into the clangIndex library. llvm-svn: 260858
-
Tobias Grosser authored
This got accidentally dropped in r260025 llvm-svn: 260857
-
Sylvestre Ledru authored
llvm-svn: 260856
-
Sylvestre Ledru authored
llvm-svn: 260855
-
Tobias Grosser authored
This reverts commit https://llvm.org/svn/llvm-project/polly/trunk@260853 We unfortunately still have two bugs left which show only up with -polly-process-unprofitable and which I forgot to test before committing. llvm-svn: 260854
-
Tobias Grosser authored
First support for this feature was committed in r259784. Support for loop invariant load hoisting with different types was added by Johannes Doerfert in r260045. This fixed the last known bug. llvm-svn: 260853
-
Simon Pilgrim authored
llvm-svn: 260852
-
https://llvm.org/bugs/show_bug.cgi?id=25496Dimitry Andric authored
C++ programs compiled for profiling (using `-pg`) should be linked with `-lc++_p` (or `-lstdc++_p`, depending on the `-stdlib=` setting), not with the regular C++ libraries. Add a `FreeBSD::AddCXXStdlibLibArgs()` override to handle this, and add a test case for it. While here, extend the test case for the proper passing of -lm and -lm_p. Reviewers: compnerd, davide, dws, emaste Reviewed By: compnerd Differential Revision: http://reviews.llvm.org/D16264 llvm-svn: 260851
-
- Feb 14, 2016
-
-
Benjamin Kramer authored
Found by lsan. llvm-svn: 260850
-
Amaury Sechet authored
llvm-svn: 260849
-
Amaury Sechet authored
llvm-svn: 260848
-
NAKAMURA Takumi authored
llvm-svn: 260847
-
Amaury Sechet authored
llvm-svn: 260846
-