[llvm] [AMDGPU] expand-fp: Change frem expansion criterion (PR #158285)
Frederik Harwath via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 31 01:56:03 PDT 2025
================
@@ -534,9 +534,9 @@ AArch64TargetLowering::AArch64TargetLowering(const TargetMachine &TM,
setOperationAction(ISD::SRA_PARTS, MVT::i64, Custom);
setOperationAction(ISD::SRL_PARTS, MVT::i64, Custom);
- setOperationAction(ISD::FREM, MVT::f32, Expand);
- setOperationAction(ISD::FREM, MVT::f64, Expand);
- setOperationAction(ISD::FREM, MVT::f80, Expand);
+ setOperationAction(ISD::FREM, MVT::f32, LibCall);
+ setOperationAction(ISD::FREM, MVT::f64, LibCall);
+ setOperationAction(ISD::FREM, MVT::f80, LibCall);
----------------
frederik-h wrote:
I don't know. Perhaps AArch64 maintainers can help to answer this? @aemerson, @davemgreen?
https://github.com/llvm/llvm-project/pull/158285
More information about the llvm-commits
mailing list