Skip to content

Commit de18ff3

Browse files
[Instrumentation] Fix a warning
This patch fixes: llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp:1528:38: error: unused variable 'TableRef' [-Werror,-Wunused-variable]
1 parent 4814628 commit de18ff3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1529,6 +1529,7 @@ Value *NumericalStabilitySanitizer::maybeHandleKnownCallBase(
15291529
assert(Intrinsic::matchIntrinsicSignature(WidenedFnTy, TableRef, ArgTys) ==
15301530
Intrinsic::MatchIntrinsicTypes_Match &&
15311531
"invalid widened intrinsic");
1532+
(void)TableRef;
15321533
// For known intrinsic functions, we create a second call to the same
15331534
// intrinsic with a different type.
15341535
SmallVector<Value *, 4> Args;

0 commit comments

Comments
 (0)