- Nov 14, 2016
-
-
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
-
Simon Pilgrim authored
llvm-svn: 286734
-
Craig Topper authored
[AVX-512] Use scalar vfmsub/vfnmsub mask3 intrinsics instead of inverting the mask argument of a vfmadd intrinsic. Summary: Inverting the mask argument does not reflect the intended semantics of the intrinsic. Reviewers: igorb, delena Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D26019 llvm-svn: 286733
-
Lang Hames authored
lambda in wrapHandler mutable to allow it to pass the handler through as a non-const value. llvm-svn: 286732
-
Zachary Turner authored
llvm-svn: 286731
-
Zachary Turner authored
llvm-svn: 286730
-
Saleem Abdulrasool authored
This should fix the Darwin buildbots. llvm-svn: 286729
-
Zachary Turner authored
llvm-svn: 286728
-
Saleem Abdulrasool authored
Until we have handling for ignoring unloaded sections, simplify the logic to the point of triviality. This fixes the scanning of archives, particularly when embedded in archives. llvm-svn: 286727
-