From: Tim Northover Date: Fri, 16 May 2014 09:41:21 +0000 (+0000) Subject: AArch64: disable printing of MOV -> MOVZ aliases X-Git-Tag: android-x86-7.1-r4~61611 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=78a667d085427c8a1e3db9e235f98a09372bdd21;p=android-x86%2Fexternal-llvm.git 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 --- diff --git a/lib/Target/AArch64/AArch64InstrInfo.td b/lib/Target/AArch64/AArch64InstrInfo.td index c4e43e1a8f8..e1aa60adde6 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;