summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>2019-02-12 23:13:18 +0000
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>2019-02-12 23:13:18 +0000
commit749dc51e452d1eaed82b0418c9acc54c3e5e5bbf (patch)
tree00ea75ee74e101882cf27b74f42e3d25f56488b2 /llvm/lib
parent8567ff0c3407392ebad21675570e890825ae0d20 (diff)
downloadbcm5719-llvm-749dc51e452d1eaed82b0418c9acc54c3e5e5bbf.tar.gz
bcm5719-llvm-749dc51e452d1eaed82b0418c9acc54c3e5e5bbf.zip
[SystemZ] Remember to cast value to void to disable warning.
Hopefully fixes buildbot problems. llvm-svn: 353898
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp b/llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
index f0e9d388cfe..a963638be98 100644
--- a/llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
+++ b/llvm/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<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);
OpenPOWER on IntegriCloud