Skip to content

Commit be3c6a0

Browse files
[Scalar] Fix a warning
This patch fixes: llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp:628:22: error: variable 'Inst' set but not used [-Werror,-Wunused-but-set-variable]
1 parent e48731b commit be3c6a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,7 @@ class LowerMatrixIntrinsics {
641641
<< " shuffles beacuse we do not have a shape-aware lowering for "
642642
"its def:\n"
643643
<< *Inst << '\n');
644+
(void)Inst;
644645
SplitMatrices++;
645646
} else {
646647
// The ShapeMap has it, so it's a case where we're being lowered

0 commit comments

Comments
 (0)