[all-commits] [llvm/llvm-project] b39ab7: [mlir][tosa] Add error_if checks to clamp op verif...
Luke Hutton via All-commits
all-commits at lists.llvm.org
Thu Apr 10 16:04:04 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b39ab7a620e1bd038d6c22a667110ad814596288
https://github.com/llvm/llvm-project/commit/b39ab7a620e1bd038d6c22a667110ad814596288
Author: Luke Hutton <luke.hutton at arm.com>
Date: 2025-04-10 (Thu, 10 Apr 2025)
Changed paths:
M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
M mlir/test/Dialect/Tosa/invalid.mlir
Log Message:
-----------
[mlir][tosa] Add error_if checks to clamp op verifier (#134224)
Specifically it introduces checks for:
- ERROR_IF(max_val < min_val)
- ERROR_IF(isNaN(min_val) || isNaN(max_val))
Signed-off-by: Luke Hutton <luke.hutton at arm.com>
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