[llvm] [AArch64][CodeGen] Fix crash when fptrunc returns fp16 with +nofp attr (PR #81724)

Nashe Mncube via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 14 06:17:35 PST 2024


================
@@ -25008,6 +25008,16 @@ void AArch64TargetLowering::ReplaceNodeResults(
       Results.push_back(
           LowerToPredicatedOp(SDValue(N, 0), DAG, AArch64ISD::MULHU_PRED));
     return;
+  case ISD::FP_ROUND: {
----------------
nasherm wrote:

So I'm looking into not making this custom and  offloading the work to the generic legalizer but it appears to cause another crash elsewhere. Currently debugging this

https://github.com/llvm/llvm-project/pull/81724


More information about the llvm-commits mailing list