Skip to content

Commit 72b04b9

Browse files
[SystemZ] Fix a warning
This patch fixes: llvm/lib/Target/SystemZ/SystemZISelLowering.cpp:9857:21: error: unused variable 'Flags' [-Werror,-Wunused-variable]
1 parent b55d4a3 commit 72b04b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/SystemZ/SystemZISelLowering.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9861,6 +9861,7 @@ verifyNarrowIntegerArgs(const SmallVectorImpl<ISD::OutputArg> &Outs,
98619861
assert((VT != MVT::i32 ||
98629862
(Flags.isSExt() || Flags.isZExt() || Flags.isNoExt())) &&
98639863
"Narrow integer argument must have a valid extension type.");
9864+
(void)Flags;
98649865
}
98659866
}
98669867
}

0 commit comments

Comments
 (0)