[llvm] 497d4f1 - [SPIRV] Remove unused variable. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 27 22:58:42 PST 2025


Author: Craig Topper
Date: 2025-02-27T22:57:29-08:00
New Revision: 497d4f175e7460a5a76bff44a5fa95c7ce1bb393

URL: https://github.com/llvm/llvm-project/commit/497d4f175e7460a5a76bff44a5fa95c7ce1bb393
DIFF: https://github.com/llvm/llvm-project/commit/497d4f175e7460a5a76bff44a5fa95c7ce1bb393.diff

LOG: [SPIRV] Remove unused variable. NFC

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp b/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
index b2c12411ab782..c013e122a85dc 100644
--- a/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
+++ b/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
@@ -319,7 +319,6 @@ void SPIRVModuleAnalysis::visitDecl(
     std::map<const Value *, unsigned> &GlobalToGReg, const MachineFunction *MF,
     const MachineInstr &MI) {
   unsigned Opcode = MI.getOpcode();
-  DenseSet<Register> Deps;
 
   // Process each operand of the instruction to resolve dependencies
   for (const MachineOperand &MO : MI.operands()) {


        


More information about the llvm-commits mailing list