[llvm] [DAG][AMDGPU] Add lit tests for FMA combining with freeze and nnan variants (PR #142628)
Harrison Hao via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 3 09:17:23 PDT 2025
harrisonGPU wrote:
> > After this PR #142345, combining `freeze` on `fmul` (without `nnan`) followed by `fadd` or `fsub` into a single `fma` is supported. This patch adds lit tests to verify the optimization behavior for both nnan and non-nnan variants.
>
> Thanks - but making this work in the presence of ninf and nnan is pretty important too.
I will implement it in this PR https://github.com/llvm/llvm-project/pull/142250
https://github.com/llvm/llvm-project/pull/142628
More information about the llvm-commits
mailing list