From fbf4058e7a94b08d9d2f1b994f2d1bef1cd80115 Mon Sep 17 00:00:00 2001 From: Tim Northover Date: Fri, 16 May 2014 09:41:48 +0000 Subject: [PATCH] ARM64: disable printing of "fcmXY ..., #0" aliases The canonical syntax is "fcmXY ..., #0.0". This will be tested when the TableGen "should I print this Alias" heuristic is fixed (very soon). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208968 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM64/ARM64InstrFormats.td | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/ARM64/ARM64InstrFormats.td b/lib/Target/ARM64/ARM64InstrFormats.td index 11d2e4312c7..c06c3487a7b 100644 --- a/lib/Target/ARM64/ARM64InstrFormats.td +++ b/lib/Target/ARM64/ARM64InstrFormats.td @@ -5322,9 +5322,9 @@ multiclass SIMDCmpTwoScalarSD opc, string asm, def v1i32rz : BaseSIMDCmpTwoScalar; def : InstAlias(NAME # v1i64rz) FPR64:$Rd, FPR64:$Rn)>; + (!cast(NAME # v1i64rz) FPR64:$Rd, FPR64:$Rn), 0>; def : InstAlias(NAME # v1i32rz) FPR32:$Rd, FPR32:$Rn)>; + (!cast(NAME # v1i32rz) FPR32:$Rd, FPR32:$Rn), 0>; def : Pat<(v1i64 (OpNode (v1f64 FPR64:$Rn))), (!cast(NAME # v1i64rz) FPR64:$Rn)>; -- 2.11.0