]> granicus.if.org Git - llvm/commitdiff
[SystemZ] Remember to cast value to void to disable warning.
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Tue, 12 Feb 2019 23:13:18 +0000 (23:13 +0000)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Tue, 12 Feb 2019 23:13:18 +0000 (23:13 +0000)
Hopefully fixes buildbot problems.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353898 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SystemZ/SystemZISelDAGToDAG.cpp

index f0e9d388cfe103df6bb58a98e121389c3d760d85..a963638be9828b7c16eb619267106ac97cd702f0 100644 (file)
@@ -1549,8 +1549,8 @@ void SystemZDAGToDAGISel::Select(SDNode *Node) {
     EVT VT = Node->getValueType(0);
     unsigned Start, End;
     unsigned BitWidth = VT.getSizeInBits();
-    bool Success = SystemZTargetLowering::analyzeFPImm(Imm, BitWidth,
-                       Start, End, static_cast<const SystemZInstrInfo *>(TII));
+    bool Success = SystemZTargetLowering::analyzeFPImm(Imm, BitWidth, Start,
+              End, static_cast<const SystemZInstrInfo *>(TII)); (void)Success;
     assert(Success && "Expected legal FP immediate");
     SDLoc DL(Node);
     unsigned Opcode = (BitWidth == 32 ? SystemZ::VGMF : SystemZ::VGMG);