[Mlir-commits] [mlir] [MLIR][TOSA] Enable strict property assembly format (PR #217291)
Mehdi Amini
llvmlistbot at llvm.org
Fri Aug 21 03:54:17 PDT 2026
================
@@ -3,6 +3,6 @@
// CHECK-LABEL: @apply_scale_unsupported_inexact_round
func.func @apply_scale_unsupported_inexact_round(%arg0 : i64, %arg1 : i32, %arg2 : i8) -> (i32) {
// expected-error at +1 {{failed to legalize operation 'tosa.apply_scale'}}
- %res = tosa.apply_scale %arg0, %arg1, %arg2 {rounding_mode = INEXACT_ROUND} : (i64, i32, i8) -> i32
+ %res = tosa.apply_scale %arg0, %arg1, %arg2 rounding_mode(<INEXACT_ROUND>) : (i64, i32, i8) -> i32
----------------
joker-eph wrote:
Do you prefer this form @lhutton1 ?
Should I remove the parenthesis? That would look more like arith fast-math for example.
https://github.com/llvm/llvm-project/pull/217291
More information about the Mlir-commits
mailing list