[llvm-branch-commits] [SPARC] Use op-then-neg instructions when we have VIS3 (PR #135717)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon May 5 08:10:11 PDT 2025
koachan wrote:
> Not sure isFNegFree is doing anything in this patch, would be best to drop it and separately test the combines it enables
It prevents the multiplication tests from being rewritten into `a*-b`, a pattern that we currently don't handle.
Without it, the codegen wouldn't issue `fnmuls`/`fnmuls`/`fnsmuld` instructions.
https://github.com/llvm/llvm-project/pull/135717
More information about the llvm-branch-commits
mailing list