[Mlir-commits] [mlir] [MLIR] Fix -Wunused-variable (PR #192698)
Mehdi Amini
llvmlistbot at llvm.org
Fri Apr 17 10:49:30 PDT 2026
joker-eph wrote:
> It is only broken in builds without assertions
I'm reading the error differently though:
```
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/lib/Dialect/Vector/IR/VectorOps.cpp:3457:35: error: invalid use of member function ‘mlir::VectorType mlir::vector::ShuffleOp::getV2VectorType()’ (did you forget the ‘()’ ?)
assert(!v1Type.isScalable() && !getV2VectorType.isScalable() &&
^
```
The expression in the assertion is wrong. It should only break with assertion enabled?
https://github.com/llvm/llvm-project/pull/192698
More information about the Mlir-commits
mailing list