[Mlir-commits] [mlir] [mlir][complex] Require fastmath for the add/sub and exp/log folds (PR #221384)
Hung-Kuan Tseng
llvmlistbot at llvm.org
Fri Sep 4 20:25:04 PDT 2026
Tim096 wrote:
@Bryth @JDPailleux this is the same class as #212751 and #212781: the `add(sub(a, b), b)`, `sub(add(a, b), b)` and `exp(log(a))` folds next to the ones you fixed still fire without any fastmath flags. This gates them on the flags LLVM requires for the same identities. @lewuathe (the original folds) FYI. Would you mind taking a look when you have a moment? Thanks.
https://github.com/llvm/llvm-project/pull/221384
More information about the Mlir-commits
mailing list