[llvm] [AArch64][CodeGen] Fix crash when fptrunc returns fp16 with +nofp attr (PR #81724)
Harald van Dijk via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 21 14:32:27 PST 2024
================
@@ -541,13 +541,18 @@ AArch64TargetLowering::AArch64TargetLowering(const TargetMachine &TM,
setOperationAction(ISD::STRICT_UINT_TO_FP, MVT::i32, Custom);
setOperationAction(ISD::STRICT_UINT_TO_FP, MVT::i64, Custom);
setOperationAction(ISD::STRICT_UINT_TO_FP, MVT::i128, Custom);
- setOperationAction(ISD::FP_ROUND, MVT::f16, Custom);
----------------
hvdijk wrote:
I agree with the previous comment, but whatever is done here, I suspect `STRICT_FP_ROUND` will need the same handling. three lines below.
https://github.com/llvm/llvm-project/pull/81724
More information about the llvm-commits
mailing list