[all-commits] [llvm/llvm-project] 18f892: [mlir][tosa] Fix mul folder conformance to the spe...
Luke Hutton via All-commits
all-commits at lists.llvm.org
Thu May 8 02:10:08 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 18f89283ebac87a153708b8fe00056f96b83022a
https://github.com/llvm/llvm-project/commit/18f89283ebac87a153708b8fe00056f96b83022a
Author: Luke Hutton <luke.hutton at arm.com>
Date: 2025-05-08 (Thu, 08 May 2025)
Changed paths:
M mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
M mlir/test/Dialect/Tosa/canonicalize.mlir
Log Message:
-----------
[mlir][tosa] Fix mul folder conformance to the spec (#137601)
Change the folder for mul with a shift such that the rounding happens
correctly according to the spec
pesudo-code.
Fixes:
https://discourse.llvm.org/t/tosa-mul-i32-shift-incorrect-result/86040
Partial cherry-pick from:
https://github.com/llvm/llvm-project/pull/128059
Co-authored-by: Tai Ly <tai.ly 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