From eeac12af6d3a8008eea13bcfd2f3c4b15474fe82 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Wed, 31 Oct 2018 18:46:15 +0000 Subject: [PATCH] [SelectionDAGISel] Suppress a -Wunused-but-set-variable warning in release builds. NFC llvm-svn: 345761 --- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 90bcaa653c39..dca358032fb5 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -1156,6 +1156,7 @@ static void mapWasmLandingPadIndex(MachineBasicBlock *MBB, } } assert(IntrFound && "wasm.landingpad.index intrinsic not found!"); + (void)IntrFound; } }