[llvm] LICM: hoist BO assoc for FAdd and FMul (PR #108415)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 19 06:46:34 PDT 2024


jayfoad wrote:

Is it OK to reassociate `(A +ninf,reassoc B) +ninf,reassoc C` to `A +ninf,reassoc (B +ninf,reassoc C)`? The reassociation might introduce an infinity in the intermediate result B+C where there was none before, which the ninf will turn into poison.

https://github.com/llvm/llvm-project/pull/108415


More information about the llvm-commits mailing list