[all-commits] [llvm/llvm-project] 9d5e14: [mlir][tosa] Fix MulOp verifier handling for unran...
Luke Hutton via All-commits
all-commits at lists.llvm.org
Thu Jun 5 00:54:22 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9d5e1449f7902329cdf448a1d238529836989582
https://github.com/llvm/llvm-project/commit/9d5e1449f7902329cdf448a1d238529836989582
Author: Luke Hutton <luke.hutton at arm.com>
Date: 2025-06-05 (Thu, 05 Jun 2025)
Changed paths:
M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
M mlir/test/Dialect/Tosa/invalid.mlir
M mlir/test/Dialect/Tosa/ops.mlir
Log Message:
-----------
[mlir][tosa] Fix MulOp verifier handling for unranked operands (#141980)
The previous verifier checks did not correctly handle unranked operands.
For example, it could incorrectly assume the number of
`rankedOperandTypes` would be >= 2, which isn't the case when both a and
b are unranked.
This change simplifies these checks such that they only operate over the
intended a and b operands as opposed to the shift operand as well.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list