[llvm] [AArch64][CodeGen] Fix crash when fptrunc returns fp16 with +nofp attr (PR #81724)
David Green via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 21 09:56:32 PST 2024
================
@@ -24580,6 +24585,10 @@ void AArch64TargetLowering::ReplaceBITCASTResults(
EVT VT = N->getValueType(0);
EVT SrcVT = Op.getValueType();
+ if (!Subtarget->hasFPARMv8() &&
----------------
davemgreen wrote:
And then I don't think we will get here, so this can be removed.
https://github.com/llvm/llvm-project/pull/81724
More information about the llvm-commits
mailing list