[all-commits] [llvm/llvm-project] e6668b: [mlir][tosa] Use roundeven in TOSA cast splat cons...
Corentin Ferry via All-commits
all-commits at lists.llvm.org
Fri Jul 19 00:23:01 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e6668b1be8acbabeea0704bdc224637059aaa2af
https://github.com/llvm/llvm-project/commit/e6668b1be8acbabeea0704bdc224637059aaa2af
Author: Corentin Ferry <corentin.ferry at amd.com>
Date: 2024-07-19 (Fri, 19 Jul 2024)
Changed paths:
M mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
M mlir/test/Dialect/Tosa/constant-op-fold.mlir
Log Message:
-----------
[mlir][tosa] Use roundeven in TOSA cast splat constant op folding (#99484)
The behavior of TOSA Cast operation for floating-point to integers is to round to the nearest even. This commit aligns the behavior of folding a TOSA Cast of a float splat to int, so it also uses roundeven.
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