[llvm] [AArch64] Fixup destructive floating-point precision conversions (PR #118788)

via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 9 06:08:38 PST 2024


================
@@ -2787,85 +2787,68 @@ multiclass sve_fp_fcadd<string asm, SDPatternOperator op> {
 // SVE2 Floating Point Convert Group
 //===----------------------------------------------------------------------===//
 
-class sve2_fp_convert_precision<bits<4> opc, string asm,
-                                ZPRRegOp zprty1, ZPRRegOp zprty2>
-: I<(outs zprty1:$Zd), (ins zprty1:$_Zd, PPR3bAny:$Pg, zprty2:$Zn),
-  asm, "\t$Zd, $Pg/m, $Zn",
+class sve2_fp_convert_precision<bits<4> opc, bit merging, string asm,
+                                ZPRRegOp zprty1, ZPRRegOp zprty2, bit destructive=merging>
----------------
CarolineConcatto wrote:

Can we remove this and only use bit merging?

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


More information about the llvm-commits mailing list