[llvm] [AMDGPU] Implement IR expansion for frem instruction (PR #130988)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 13 00:31:38 PDT 2025
================
@@ -2393,21 +2393,6 @@ SDValue AMDGPUTargetLowering::LowerSDIVREM(SDValue Op,
return DAG.getMergeValues(Res, DL);
}
-// (frem x, y) -> (fma (fneg (ftrunc (fdiv x, y))), y, x)
----------------
arsenm wrote:
Do we still get this fast expansion with afn?
https://github.com/llvm/llvm-project/pull/130988
More information about the llvm-commits
mailing list