[llvm] 3226617 - AMDGPU: Remove a duplicate setOperationAction, NFC (#130664)

via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 10 18:59:47 PDT 2025


Author: Changpeng Fang
Date: 2025-03-10T18:59:44-07:00
New Revision: 3226617f023d46708414f867c726695a1a2dd562

URL: https://github.com/llvm/llvm-project/commit/3226617f023d46708414f867c726695a1a2dd562
DIFF: https://github.com/llvm/llvm-project/commit/3226617f023d46708414f867c726695a1a2dd562.diff

LOG: AMDGPU: Remove a duplicate setOperationAction, NFC (#130664)

Added: 
    

Modified: 
    llvm/lib/Target/AMDGPU/SIISelLowering.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
index 0d100aaf4412d..0bb830cdf36d6 100644
--- a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+++ b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
@@ -582,7 +582,6 @@ SITargetLowering::SITargetLowering(const TargetMachine &TM,
 
     setOperationAction({ISD::FP_TO_SINT, ISD::FP_TO_UINT}, MVT::i16, Custom);
     setOperationAction({ISD::SINT_TO_FP, ISD::UINT_TO_FP}, MVT::i16, Custom);
-    setOperationAction({ISD::SINT_TO_FP, ISD::UINT_TO_FP}, MVT::i16, Custom);
 
     setOperationAction({ISD::SINT_TO_FP, ISD::UINT_TO_FP}, MVT::i32, Custom);
 


        


More information about the llvm-commits mailing list