[PATCH] D39928: AMDGPU: Drop duplicit setOperationAction

Jan Vesely via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 10 15:34:44 PST 2017


jvesely created this revision.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl.

These are set with other scalar int ops few lines up


Repository:
  rL LLVM

https://reviews.llvm.org/D39928

Files:
  lib/Target/AMDGPU/AMDGPUISelLowering.cpp


Index: lib/Target/AMDGPU/AMDGPUISelLowering.cpp
===================================================================
--- lib/Target/AMDGPU/AMDGPUISelLowering.cpp
+++ lib/Target/AMDGPU/AMDGPUISelLowering.cpp
@@ -398,8 +398,6 @@
   setOperationAction(ISD::MUL, MVT::i64, Expand);
   setOperationAction(ISD::MULHU, MVT::i64, Expand);
   setOperationAction(ISD::MULHS, MVT::i64, Expand);
-  setOperationAction(ISD::UDIV, MVT::i32, Expand);
-  setOperationAction(ISD::UREM, MVT::i32, Expand);
   setOperationAction(ISD::UINT_TO_FP, MVT::i64, Custom);
   setOperationAction(ISD::SINT_TO_FP, MVT::i64, Custom);
   setOperationAction(ISD::FP_TO_SINT, MVT::i64, Custom);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39928.122543.patch
Type: text/x-patch
Size: 661 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171110/3847808a/attachment.bin>


More information about the llvm-commits mailing list