Skip to content

Commit

Permalink
[ArithToSPIRV] Fix a warning (llvm#86702)
Browse files Browse the repository at this point in the history
mlir/lib/Conversion/ArithToSPIRV/ArithToSPIRV.cpp:995:11: error:
  unused variable 'converter' [-Werror,-Wunused-variable]
  • Loading branch information
kazutakahirata authored Mar 26, 2024
1 parent 8cb4eb9 commit d0e97fe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mlir/lib/Conversion/ArithToSPIRV/ArithToSPIRV.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,6 @@ class CmpFOpNanNonePattern final : public OpConversionPattern<arith::CmpFOp> {
return failure();

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

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

0 comments on commit d0e97fe

Please sign in to comment.