- Nov 14, 2016
-
-
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
-
Zachary Turner authored
llvm-svn: 286744
-
Zachary Turner authored
llvm-svn: 286743
-
Zachary Turner authored
llvm-svn: 286742
-
Konstantin Zhuravlyov authored
Differential Revision: https://reviews.llvm.org/D26476 llvm-svn: 286741
-
Zachary Turner authored
llvm-svn: 286740
-
Craig Topper authored
[InstCombine][AVX-512] Expand vector shift handling to work on the AVX-512 shift by immediate and shift by single value. This does not include support for the AVX-512 variable shifts. That will be coming in a future patch. llvm-svn: 286739
-
Craig Topper authored
llvm-svn: 286738
-
Sanjay Patel authored
These are vector tests corresponding to the discussion at: http://lists.llvm.org/pipermail/llvm-dev/2016-November/106868.html Apart from the lack of min/max matching, the and/andn difference shows a lack of DAG-level canonicalization. llvm-svn: 286737
-
Brad Smith authored
llvm-svn: 286736
-
Brad Smith authored
Patch by Stefan Kempf. llvm-svn: 286735
-