summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
diff options
context:
space:
mode:
authorJan Vesely <jan.vesely@rutgers.edu>2017-11-13 16:46:07 +0000
committerJan Vesely <jan.vesely@rutgers.edu>2017-11-13 16:46:07 +0000
commitb17f32040cefbf1a081e13bdcdc8126facef7b60 (patch)
treeda283c6a474909011147797f118a33b82372df0b /llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
parentc61ade1ca08dde0a05645ba58f9b826a7a15e3f9 (diff)
downloadbcm5719-llvm-b17f32040cefbf1a081e13bdcdc8126facef7b60.tar.gz
bcm5719-llvm-b17f32040cefbf1a081e13bdcdc8126facef7b60.zip
AMDGPU: Drop duplicate setOperationAction
These are set with other scalar int ops few lines up Differential Revision: https://reviews.llvm.org/D39928 llvm-svn: 318051
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp')
-rw-r--r--llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp b/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
index f3b4a4f21ac..bb08fd2f54a 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
@@ -393,8 +393,6 @@ AMDGPUTargetLowering::AMDGPUTargetLowering(const TargetMachine &TM,
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);
OpenPOWER on IntegriCloud