[PATCH] D13734: Don't pretend AMDGPU backend knows how to custom-lower UDIVREM for vector types; it can't
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 15 02:20:50 PDT 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rL250384: Don't pretend AMDGPU backend knows how to custom-lower UDIVREM for vector… (authored by askrobov).
Changed prior to commit:
http://reviews.llvm.org/D13734?vs=37366&id=37463#toc
Repository:
rL LLVM
http://reviews.llvm.org/D13734
Files:
llvm/trunk/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
Index: llvm/trunk/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
===================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
+++ llvm/trunk/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
@@ -355,7 +355,7 @@
setOperationAction(ISD::SMUL_LOHI, VT, Expand);
setOperationAction(ISD::UMUL_LOHI, VT, Expand);
setOperationAction(ISD::SDIVREM, VT, Custom);
- setOperationAction(ISD::UDIVREM, VT, Custom);
+ setOperationAction(ISD::UDIVREM, VT, Expand);
setOperationAction(ISD::ADDC, VT, Expand);
setOperationAction(ISD::SUBC, VT, Expand);
setOperationAction(ISD::ADDE, VT, Expand);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13734.37463.patch
Type: text/x-patch
Size: 662 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151015/6a62e992/attachment.bin>
More information about the llvm-commits
mailing list