Skip to content

Commit d0e97fe

Browse files
[ArithToSPIRV] Fix a warning (#86702)
mlir/lib/Conversion/ArithToSPIRV/ArithToSPIRV.cpp:995:11: error: unused variable 'converter' [-Werror,-Wunused-variable]
1 parent 8cb4eb9 commit d0e97fe

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mlir/lib/Conversion/ArithToSPIRV/ArithToSPIRV.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,6 @@ class CmpFOpNanNonePattern final : public OpConversionPattern<arith::CmpFOp> {
992992
return failure();
993993

994994
Location loc = op.getLoc();
995-
auto *converter = getTypeConverter<SPIRVTypeConverter>();
996995

997996
Value replace;
998997
if (bitEnumContainsAll(op.getFastmath(), arith::FastMathFlags::nnan)) {

0 commit comments

Comments
 (0)