[llvm] c37ced7 - silence an unused variable warning after 8064caf83fb166b709bfe0e7641c5181341cb064

Krasimir Georgiev via llvm-commits llvm-commits at lists.llvm.org
Tue May 23 05:47:58 PDT 2023


Author: Krasimir Georgiev
Date: 2023-05-23T12:47:13Z
New Revision: c37ced7d026e2629aa513f935f0ff46215f7d09e

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

LOG: silence an unused variable warning after 8064caf83fb166b709bfe0e7641c5181341cb064

Added: 
    

Modified: 
    llvm/lib/Target/PowerPC/PPCISelLowering.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
index e7df8d3e3cff..358be0a69a0c 100644
--- a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
@@ -15044,6 +15044,7 @@ SDValue PPCTargetLowering::combineStoreFPToInt(SDNode *N,
   SelectionDAG &DAG = DCI.DAG;
   SDLoc dl(N);
   unsigned Opcode = N->getOperand(1).getOpcode();
+  (void)Opcode;
 
   assert((Opcode == ISD::FP_TO_SINT || Opcode == ISD::FP_TO_UINT)
          && "Not a FP_TO_INT Instruction!");


        


More information about the llvm-commits mailing list