- Nov 14, 2016
-
-
Eric Fiselier authored
llvm-svn: 286784
-
Eric Fiselier authored
llvm-svn: 286783
-
Enrico Granata authored
llvm-svn: 286782
-
Tobias Grosser authored
llvm-svn: 286781
-
Tobias Grosser authored
In r286430 "SCEVValidator: add new parameters resulting from constant extraction" we added functionality to scan for parameters after constant extraction has taken place to ensure newly created parameters are correctly registered. This addition made the already existing registration of parameters redundant. Hence, we remove the corresponding call in this commit. An alternative solution would have been to also perform constant extraction when validating SCEV expressions and to then scan for parameters when validating a SCEV expression. However, as SCEV validation is used during SCoP detection where we want to be especially fast, adding additional functionality on this hot path should be avoided if good alternatives exist. In this case, we can choose to continue to only transform SCEV expression when actually modeling them. As all transformations we perform are expected to not change the validity of the SCEV expressions, this solution seems preferable. Suggested-by:Eli Friedman <efriedma@codeaurora.org> llvm-svn: 286780
-
Eric Fiselier authored
llvm-svn: 286779
-
Saleem Abdulrasool authored
The archive may already exist when not doing a clean test run. The dirty state can cause a test failure. Remove the archive first. llvm-svn: 286778
-
Saleem Abdulrasool authored
`c++filt` when given no arguments runs as a REPL, decoding each line as a decorated name. Unify the test structure to be more uniform, with the tests for llvm-cxxfilt living under test/tools/llvm-cxxfilt. llvm-svn: 286777
-
Sanjay Patel authored
Similar to: https://reviews.llvm.org/rL285499 https://reviews.llvm.org/rL286318 We can't minimally expose this in IR tests because we don't have min/max intrinsics, but the difference is visible in codegen because SelectionDAGBuilder::visitSelect() uses matchSelectPattern(). We're not canonicalizing these patterns in IR (yet), so I don't expect there to be any regressions as noted here: http://lists.llvm.org/pipermail/llvm-dev/2016-November/106868.html llvm-svn: 286776
-
Craig Topper authored
[AVX-512] Fix a disassembler failure for AVX-512 vcmpss/vcmpsd with an immediate larger than 32. Fix the same bug with VLX vcmpps/vcmppd. Fixes PR24941. llvm-svn: 286775
-
Eric Fiselier authored
llvm-svn: 286774
-
Saleem Abdulrasool authored
llvm-strings was added to the test dependencies without updating the lit substitutions. Synchronise the list. llvm-svn: 286773
-
Sanjay Patel authored
llvm-svn: 286772
-
Tobias Grosser authored
Commit r286294 introduced support for inaccessiblememonly and inaccessiblemem_or_argmemonly attributes to BasicAA, which we need to support to avoid undefined behavior. This change just refuses all calls which are annotated with these attributes, which is conservatively correct. In the future we may consider to model and support such function calls in Polly. llvm-svn: 286771
-
Tobias Grosser authored
LLVM recently changed the SCEV canonicalization which changed the output of one of our GPGPU test cases. llvm-svn: 286770
-
Tobias Grosser authored
The validity of a branch condition must be verified at the location of the branch (the branch instruction), not the location of the icmp that is used in the branch instruction. When verifying at the wrong location, we may accept an icmp that is defined within a loop which itself dominates, but does not contain the branch instruction. Such loops cannot be modeled as we only introduce domain dimensions for surrounding loops. To address this problem we change the scop detection to evaluate and verify SCEV expressions at the right location. This issue has been around since at least r179148 "scop detection: properly instantiate SCEVs to the place where they are used", where we explicitly set the scope to the wrong location. Before this commit the scope was not explicitly set, which probably also resulted in the scope around the ICmp to be choosen. This resolves http://llvm.org/PR30989 Reported-by:
Eli Friedman <efriedma@codeaurora.org> llvm-svn: 286769
-
Craig Topper authored
[X86][IR] Reduce the number of full string comparisons in the code that autoupgrades masked shift intrinsics. llvm-svn: 286768
-
Saleem Abdulrasool authored
This adds support for the `-f` or `--print-file-name` option for strings. llvm-svn: 286767
-
Matt Arsenault authored
nThis avoids the nasty problems caused by using memory instructions that read the exec mask while spilling / restoring registers used for control flow masking, but only for VI when these were added. This always uses the scalar stores when enabled currently, but it may be better to still try to spill to a VGPR and use this on the fallback memory path. The cache also needs to be flushed before wave termination if a scalar store is used. llvm-svn: 286766
-
- Nov 13, 2016
-
-
Igor Breger authored
llvm-svn: 286765
-
Simon Pilgrim authored
llvm-svn: 286764
-
Simon Pilgrim authored
llvm-svn: 286763
-
Simon Pilgrim authored
llvm-svn: 286762
-
Ayman Musa authored
Differential Revision: https://reviews.llvm.org/D26128 llvm-svn: 286761
-
Logan Chien authored
GCC 4.7 or newer emits 0x90 (indirect | pcrel) as the ttype encoding. This would hit an assertion in cxa_personality.cpp. This commit fixes the problem by relaxing the assertion. llvm-svn: 286760
-
Logan Chien authored
This commit fixes libc++abi build when LLVM unwinder (libunwind_llvm) is not enabled. This commit fixes the problem by removing "LLVM_NATIVE_ARCH MATCHES ARM" from CMakeLists.txt so that LIBCXXABI_USE_LLVM_UNWINDER will only be defined when LLVM unwinder is enabled. We need LIBCXXABI_USE_LLVM_UNWINDER becase there is a subtle difference between the unwinder from libgcc and the one from libunwind_llvm. For the unwinder from libgcc, we have to initialize register r12 with the address of _Unwind_Control_Block; otherwise, _Unwind_GetLanguageSpecificData() and _Unwind_GetRegionStart() won't work properly. Consequently, there is an extra _Unwind_SetGR() when LLVM unwinder is disabled. Check cxa_personality.cpp for details. llvm-svn: 286759
-
Ayman Musa authored
Differential Revision: https://reviews.llvm.org/D26022 llvm-svn: 286758
-
Craig Topper authored
[AVX-512] Replace masked dword and qword variable shift builtins with unmasked builtins and a select. This is part of a set of changes to allow InstCombine in the backend to optimize variable shifts without having to know about masking. llvm-svn: 286757
-
Craig Topper authored
[X86] Remove extra escaped new lines in intrinsic headers left over from an earlier conversion away from a macro. NFC llvm-svn: 286756
-
Craig Topper authored
[InstCombine][AVX-512] Teach InstCombineCalls to handle the new unmasked AVX-512 variable shift intrinsics. llvm-svn: 286755
-
Craig Topper authored
These will be used to replace the masked intrinsics so that InstCombineCalls can optimize the AVX-512 variable shifts the same way it does for AVX2. llvm-svn: 286754
-
Konstantin Zhuravlyov authored
Differential Revision: https://reviews.llvm.org/D25975 llvm-svn: 286753
-
Peter Collingbourne authored
Differential Revision: https://reviews.llvm.org/D26562 llvm-svn: 286752
-
Peter Collingbourne authored
All existing callers were manually extracting information out of an existing GEP instruction and passing it to getGEPExpr(). Simplify the interface by changing it to take a GEPOperator instead. llvm-svn: 286751
-
Peter Collingbourne authored
llvm-svn: 286750
-
Peter Collingbourne authored
IR: Change the Type::get{Array,Vector,Pointer}ElementType() functions to perform the correct type assertion. Previously we were only asserting that the type was a sequential type. llvm-svn: 286749 -
Faisal Vali authored
Fix PR28366: Handle variables from enclosing local scopes more gracefully during constant expression evaluation. Only look for a variable's value in the constant expression evaluation activation frame, if the variable was indeed declared in that frame, otherwise it might be a constant expression and be usable within a nested local scope or emit an error. void f(char c) { struct X { static constexpr char f() { return c; // error gracefully here as opposed to crashing. } }; int I = X::f(); } llvm-svn: 286748 -
Zachary Turner authored
llvm-svn: 286747
-
Craig Topper authored
[AVX-512] Move masked shift intrinsics tests to the autoupgrade test file. These missed being moved in r286725. llvm-svn: 286746
-
Zachary Turner authored
llvm-svn: 286745
-