From 78a667d085427c8a1e3db9e235f98a09372bdd21 Mon Sep 17 00:00:00 2001 From: Tim Northover Date: Fri, 16 May 2014 09:41:21 +0000 Subject: AArch64: disable printing of MOV -> MOVZ aliases Actually, MOV sometimes is canonical, but for now this is a better approximation than what's there. 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@208962 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/AArch64/AArch64InstrInfo.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Target/AArch64/AArch64InstrInfo.td b/lib/Target/AArch64/AArch64InstrInfo.td index c4e43e1a8f..e1aa60adde 100644 --- a/lib/Target/AArch64/AArch64InstrInfo.td +++ b/lib/Target/AArch64/AArch64InstrInfo.td @@ -4210,7 +4210,7 @@ defm movn64 : movalias_operand<"movn64", "MOVN", "isOnlyMOVNImm", 64>; // will need to be implemented. to allow it, as well as the more generally // useful handling of non-register, non-constant operands. class movalias - : InstAlias<"mov $Rd, $FullImm", (INST GPR:$Rd, operand:$FullImm)>; + : InstAlias<"mov $Rd, $FullImm", (INST GPR:$Rd, operand:$FullImm), 0>; def : movalias; def : movalias; -- cgit v1.2.3