diff options
author | Kazu Hirata <kazu@google.com> | 2024-03-26 10:44:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-26 10:44:20 -0700 |
commit | d0e97fe38b91dac909e6a53ab16d306e5ef0b512 (patch) | |
tree | 6858a8bf88bc5c53f11f264202cea62a7ac815f6 /mlir/lib | |
parent | 8cb4eb991401093fbfbc255ea752210d0bd5acfe (diff) | |
download | llvm-d0e97fe38b91dac909e6a53ab16d306e5ef0b512.zip llvm-d0e97fe38b91dac909e6a53ab16d306e5ef0b512.tar.gz llvm-d0e97fe38b91dac909e6a53ab16d306e5ef0b512.tar.bz2 |
[ArithToSPIRV] Fix a warning (#86702)
mlir/lib/Conversion/ArithToSPIRV/ArithToSPIRV.cpp:995:11: error:
unused variable 'converter' [-Werror,-Wunused-variable]
Diffstat (limited to 'mlir/lib')
-rw-r--r-- | mlir/lib/Conversion/ArithToSPIRV/ArithToSPIRV.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mlir/lib/Conversion/ArithToSPIRV/ArithToSPIRV.cpp b/mlir/lib/Conversion/ArithToSPIRV/ArithToSPIRV.cpp index eb338c2..7456bf7 100644 --- a/mlir/lib/Conversion/ArithToSPIRV/ArithToSPIRV.cpp +++ b/mlir/lib/Conversion/ArithToSPIRV/ArithToSPIRV.cpp @@ -992,7 +992,6 @@ public: return failure(); Location loc = op.getLoc(); - auto *converter = getTypeConverter<SPIRVTypeConverter>(); Value replace; if (bitEnumContainsAll(op.getFastmath(), arith::FastMathFlags::nnan)) { |