[llvm] 0f0f0ff - [NFC] Remove unused variable after 94c988bc

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 11 14:09:09 PDT 2024


Author: Arthur Eubanks
Date: 2024-03-11T21:08:54Z
New Revision: 0f0f0ffc750b5d1364d20b8ecd3f070e9e816ecf

URL: https://github.com/llvm/llvm-project/commit/0f0f0ffc750b5d1364d20b8ecd3f070e9e816ecf
DIFF: https://github.com/llvm/llvm-project/commit/0f0f0ffc750b5d1364d20b8ecd3f070e9e816ecf.diff

LOG: [NFC] Remove unused variable after 94c988bc

Added: 
    

Modified: 
    llvm/lib/Target/VE/VEISelLowering.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/VE/VEISelLowering.cpp b/llvm/lib/Target/VE/VEISelLowering.cpp
index 6e31c8b7c9a023..96340f603a87eb 100644
--- a/llvm/lib/Target/VE/VEISelLowering.cpp
+++ b/llvm/lib/Target/VE/VEISelLowering.cpp
@@ -648,7 +648,6 @@ SDValue VETargetLowering::LowerCall(TargetLowering::CallLoweringInfo &CLI,
   // PC-relative references to external symbols should go through $stub.
   // If so, we need to prepare GlobalBaseReg first.
   const TargetMachine &TM = DAG.getTarget();
-  const Module *Mod = DAG.getMachineFunction().getFunction().getParent();
   const GlobalValue *GV = nullptr;
   auto *CalleeG = dyn_cast<GlobalAddressSDNode>(Callee);
   if (CalleeG)


        


More information about the llvm-commits mailing list