[llvm] r353898 - [SystemZ] Remember to cast value to void to disable warning.
Jonas Paulsson via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 12 15:13:19 PST 2019
Author: jonpa
Date: Tue Feb 12 15:13:18 2019
New Revision: 353898
URL: http://llvm.org/viewvc/llvm-project?rev=353898&view=rev
Log:
[SystemZ] Remember to cast value to void to disable warning.
Hopefully fixes buildbot problems.
Modified:
llvm/trunk/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp?rev=353898&r1=353897&r2=353898&view=diff
==============================================================================
--- llvm/trunk/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp Tue Feb 12 15:13:18 2019
@@ -1549,8 +1549,8 @@ void SystemZDAGToDAGISel::Select(SDNode
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);
More information about the llvm-commits
mailing list