[all-commits] [llvm/llvm-project] 6e41a0: [mlir][tosa] Revert add-0 canonicalization for flo...
rsuderman via All-commits
all-commits at lists.llvm.org
Wed Nov 17 17:31:17 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6e41a0691132482478c4e82d0610fe19a4128f74
https://github.com/llvm/llvm-project/commit/6e41a0691132482478c4e82d0610fe19a4128f74
Author: Robert Suderman <suderman at google.com>
Date: 2021-11-17 (Wed, 17 Nov 2021)
Changed paths:
M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
M mlir/test/Dialect/Tosa/canonicalize.mlir
Log Message:
-----------
[mlir][tosa] Revert add-0 canonicalization for floating-point
Floating point optimization can produce incorrect numerical resutls for
-0.0 + 0.0 optimization as result needs to be -0.0.
Reviewed By: eric-k256
Differential Revision: https://reviews.llvm.org/D114127
More information about the All-commits
mailing list