- Nov 02, 2015
-
-
Angel Garcia Gomez authored
Summary: When applying this check to the unit tests, it would hit an assertion: llvm/tools/clang/lib/Lex/Lexer.cpp:1056: clang::SourceLocation clang::Lexer::getSourceLocation(const char*, unsigned int) const: Assertion `PP && "This doesn't work on raw lexers"' failed. Reviewers: klimek, LegalizeAdulthood, alexfh Subscribers: cfe-commits, alexfh Differential Revision: http://reviews.llvm.org/D14204 llvm-svn: 251792
-
Tobias Grosser authored
In some cases different memory accesses access the very same array using a different multi-dimensional array layout where the same dimensions have different sizes. Instead of asserting when encountering this issue, we gracefully bail out for this scop. This fixes llvm.org/PR25252 llvm-svn: 251791
-
Angel Garcia Gomez authored
Summary: Add -fexceptions flag to enable exceptions. Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D14225 llvm-svn: 251790
-
Igor Kudrin authored
It is required to fill up the GNU hash table section before its finalize() method is called. Differential Revision: http://reviews.llvm.org/D14196 llvm-svn: 251789
-
Angel Garcia Gomez authored
Summary: the check will now warn when the user provided definitions of this functions is equivalent to the explicitly defaulted ones. Reviewers: klimek Subscribers: klimek, cfe-commits, alexfh Differential Revision: http://reviews.llvm.org/D14145 llvm-svn: 251788
-
Tobias Grosser authored
We remove -polly-detect-unprofitable and -polly-no-early-exit. Both have been superseeded by -polly-process-unprofitable and were only kept as aliases for our buildbots to continue to work. As all buildbots have been moved to the new options, we can now remove the old ones for good. llvm-svn: 251787
-
Andrey Bokhanko authored
This patch implements two things in front-end for MCU psABI support: 1) "long double type is the same as double." 2) "New predefined C/C++ pre-processor symbols: iamcu and iamcu__. Differential Revision: http://reviews.llvm.org/D14205 llvm-svn: 251786
-
James Molloy authored
Instead of rolling our own min/max matching code (which is notoriously hard to get completely right), use ValueTracking's instead. llvm-svn: 251785
-
Pawel Bylica authored
Summary: The new function sys::path::user_cache_directory tries to discover a directory suitable for cache storage for current system user. On Windows and Darwin it returns a path to system-specific user cache directory. On Linux it follows XDG Base Directory Specification, what is: - use non-empty $XDG_CACHE_HOME env var, - use $HOME/.cache. Reviewers: chapuni, aaron.ballman, rafael Subscribers: rafael, aaron.ballman, llvm-commits Differential Revision: http://reviews.llvm.org/D13801 llvm-svn: 251784
-
David Majnemer authored
Certain CXXConstructExpr nodes require zero-initialization before a constructor is called. We had a bug in the case where the constructor is called on a virtual base: we zero-initialized the base's vbptr field. A complementary bug is present in MSVC where no zero-initialization occurs for the subobject at all. This fixes PR25370. llvm-svn: 251783
-
George Rimar authored
llvm-svn: 251782
-
Igor Breger authored
Differential Revision: http://reviews.llvm.org/D14216 llvm-svn: 251781
-
Craig Topper authored
[X86] Remove assertions that check for valid scale values on scatter/gather intrinsics. Nothing upstream prevented illegal values from getting here. llvm-svn: 251780
-
Craig Topper authored
[X86] Don't pass a scale value of 0 to scatter/gather intrinsics. This causes the code emitter to throw an assertion if we try to encode it. Need to add a check to fail isel for this, but for now avoid testing it. llvm-svn: 251779
-
Craig Topper authored
llvm-svn: 251778
-
Craig Topper authored
llvm-svn: 251777
-
Craig Topper authored
[X86] Remove some llvm_unreachables after switches that already have an unreachable in their default case. llvm-svn: 251776
-
Craig Topper authored
llvm-svn: 251775
-
Craig Topper authored
llvm-svn: 251774
-
Craig Topper authored
llvm-svn: 251773
-
Craig Topper authored
llvm-svn: 251772
-
Xinliang David Li authored
1. Added a set of public interfaces in InstrProfRecord class to access (read/write) value profile data. 2. Changed IndexedProfile reader and writer code to use the newly defined interfaces and hide implementation details. 3. Added a couple of unittests for value profiling: - Test new interfaces to get and set value profile data - Test value profile data merging with various scenarios. No functional change is expected. The new interfaces will also make it possible to change on-disk format of value prof data to be more compact (to be submitted). llvm-svn: 251771 -
Sanjoy Das authored
Have `getConstantEvolutionLoopExitValue` work correctly with multiple entry loops. As far as I can tell, `getConstantEvolutionLoopExitValue` never did the right thing for multiple entry loops; and before r249712 it would silently return an incorrect answer. r249712 changed SCEV to fail an assert on a multiple entry loop, and this change fixes the underlying issue. llvm-svn: 251770
-
NAKAMURA Takumi authored
llvm-svn: 251769
-
Marshall Clow authored
Add 'nostdinc++' to the flags used by testit. Makes the tests run better on Mac OS X with the new depr.c headers change llvm-svn: 251768
-
Marshall Clow authored
llvm-svn: 251767
-
Marshall Clow authored
Implement the first part of P0006R0: Adopt Type Traits Variable Templates for C++17. Significantly augment the existing tests. llvm-svn: 251766
-
Davide Italiano authored
The latter might go away (anytime soon). llvm-svn: 251765
-
- Nov 01, 2015
-
-
Elena Demikhovsky authored
Optimized <8 x i32> to <8 x i16> <4 x i64> to < 4 x i32> <16 x i16> to <16 x i8> All these oprtrations use now AVX512F set (KNL). Before this change it was implemented with AVX2 set. Differential Revision: http://reviews.llvm.org/D14108 llvm-svn: 251764
-
Saleem Abdulrasool authored
This adds support for COFF I386. This is sufficient for code execution in a 32-bit JIT, though, imported symbols need to custom lowered for the redirection. llvm-svn: 251761
-
Daniel Jasper authored
clang-format: Be slightly more cautious when formatting subsequent lines after a change. With r251474, clang-format could indent the entire rest of the file, if there is a missing closing brace, e.g. while writing code in an editor. Summary: With this change, clang-format stops formatting when either it leaves the current scope or when it comes back to the initial scope after going into a nested one. Reviewers: klimek Subscribers: cfe-commits, klimek Differential Revision: http://reviews.llvm.org/D14213 llvm-svn: 251760
-
Rafael Espindola authored
llvm-svn: 251759
-
Rafael Espindola authored
We never need to pass end(). This will also remove some complication once we start adding error checking. llvm-svn: 251758
-
Davide Italiano authored
llvm-svn: 251757
-
Sanjoy Das authored
Prevent `createNodeFromSelectLikePHI` from creating SCEV expressions that break LCSSA. A better fix for the same issue is to teach SCEVExpander to not break LCSSA by inserting PHI nodes at appropriate places. That's planned for the future. Fixes PR25360. llvm-svn: 251756
-
Sanjoy Das authored
llvm-svn: 251755
-
Davide Italiano authored
llvm-svn: 251754
-
Rafael Espindola authored
llvm-svn: 251753
-
Diego Novillo authored
The initial coverage checking code for sample records failed to count records inside inlined profiles. This change fixes the oversight. llvm-svn: 251752
-
Craig Topper authored
[X86] Replace getScalarType with getVectorElementType when the type is already known to be a vector. This should result in slightly less code. NFC llvm-svn: 251751
-