OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e15a3d
)
AArch64: disable printing of MOV -> MOVZ aliases
author
Tim Northover
<tnorthover@apple.com>
Fri, 16 May 2014 09:41:21 +0000
(09:41 +0000)
committer
Tim Northover
<tnorthover@apple.com>
Fri, 16 May 2014 09:41:21 +0000
(09:41 +0000)
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
patch
|
blob
|
history
diff --git
a/lib/Target/AArch64/AArch64InstrInfo.td
b/lib/Target/AArch64/AArch64InstrInfo.td
index
c4e43e1
..
e1aa60a
100644
(file)
--- 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<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>;