[llvm] relaxed simd fma (PR #147487)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 10 18:24:52 PDT 2025
================
@@ -1542,6 +1542,29 @@ defm "" : SIMDMADD<F32x4, 0x105, 0x106, [HasRelaxedSIMD]>;
defm "" : SIMDMADD<F64x2, 0x107, 0x108, [HasRelaxedSIMD]>;
defm "" : SIMDMADD<F16x8, 0x14e, 0x14f, [HasFP16]>;
+def fmul_fast : PatFrag<(ops node:$a, node:$b), (fmul node:$a, node:$b),[{
----------------
lukel97 wrote:
Actually it looks like ARMInstrInfo.td also defines fadd_contract. Maybe we should move that definition into include/llvm/Target/TargetSelectionDAG.td + copy it for fmul_contract, that way we can share it between targets?
https://github.com/llvm/llvm-project/pull/147487
More information about the llvm-commits
mailing list