summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-05-16 09:41:21 +0000
committerTim Northover <tnorthover@apple.com>2014-05-16 09:41:21 +0000
commit32dcf2d04299fcd5277c94e5fdf497a949139083 (patch)
tree200d45f2b829d283937ee5c405938c0bf1bc38a8
parent3e1c7e0198e881fc7d351d42da7d6a32eff50194 (diff)
downloadbcm5719-llvm-32dcf2d04299fcd5277c94e5fdf497a949139083.tar.gz
bcm5719-llvm-32dcf2d04299fcd5277c94e5fdf497a949139083.zip
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). llvm-svn: 208962
-rw-r--r--llvm/lib/Target/AArch64/AArch64InstrInfo.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64InstrInfo.td b/llvm/lib/Target/AArch64/AArch64InstrInfo.td
index c4e43e1a8f8..e1aa60adde6 100644
--- a/llvm/lib/Target/AArch64/AArch64InstrInfo.td
+++ b/llvm/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<Instruction INST, RegisterClass GPR, Operand operand>
- : InstAlias<"mov $Rd, $FullImm", (INST GPR:$Rd, operand:$FullImm)>;
+ : InstAlias<"mov $Rd, $FullImm", (INST GPR:$Rd, operand:$FullImm), 0>;
def : movalias<MOVZwii, GPR32, movz32_movimm>;
def : movalias<MOVZxii, GPR64, movz64_movimm>;
OpenPOWER on IntegriCloud