From 17f2e5bd11f955eda64800b8659bd03f6bdad1bf Mon Sep 17 00:00:00 2001 From: Jonas Paulsson Date: Tue, 12 Feb 2019 23:13:18 +0000 Subject: [PATCH] [SystemZ] Remember to cast value to void to disable warning. 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp b/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp index f0e9d388cfe..a963638be98 100644 --- a/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp +++ b/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp @@ -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(TII)); + bool Success = SystemZTargetLowering::analyzeFPImm(Imm, BitWidth, Start, + End, static_cast(TII)); (void)Success; assert(Success && "Expected legal FP immediate"); SDLoc DL(Node); unsigned Opcode = (BitWidth == 32 ? SystemZ::VGMF : SystemZ::VGMG); -- 2.50.1