[llvm] 771b94f - [NFC][SPIRV] remove unimplemented function define for `selectCross` (#134478)

via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 7 06:26:40 PDT 2025


Author: Farzon Lotfi
Date: 2025-04-07T09:26:36-04:00
New Revision: 771b94fa834b71cfcb0c16b875f656c7facdcb2f

URL: https://github.com/llvm/llvm-project/commit/771b94fa834b71cfcb0c16b875f656c7facdcb2f
DIFF: https://github.com/llvm/llvm-project/commit/771b94fa834b71cfcb0c16b875f656c7facdcb2f.diff

LOG: [NFC][SPIRV] remove unimplemented function define for `selectCross` (#134478)

- `selectCross` looks to be a function that had its implementation and
usage removed but this define some how stuck around.
- this change removes the definition.

Added: 
    

Modified: 
    llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp b/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
index 946a295c2df25..662c38ca4ed28 100644
--- a/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
+++ b/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
@@ -183,8 +183,6 @@ class SPIRVInstructionSelector : public InstructionSelector {
 
   bool selectCmp(Register ResVReg, const SPIRVType *ResType,
                  unsigned comparisonOpcode, MachineInstr &I) const;
-  bool selectCross(Register ResVReg, const SPIRVType *ResType,
-                   MachineInstr &I) const;
   bool selectDiscard(Register ResVReg, const SPIRVType *ResType,
                      MachineInstr &I) const;
 


        


More information about the llvm-commits mailing list