diff options
author | Tim Northover <tnorthover@apple.com> | 2014-05-16 09:41:39 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2014-05-16 09:41:39 +0000 |
commit | 84a4f73a8ed722538cdbf04fd9730826444502aa (patch) | |
tree | d9009c9e3001a439df052c8755294bac167744a2 /lib/Target/Sparc | |
parent | 77da6f1be4d294c3cfc3336efae27eac1b6f8175 (diff) | |
download | llvm-84a4f73a8ed722538cdbf04fd9730826444502aa.tar.gz llvm-84a4f73a8ed722538cdbf04fd9730826444502aa.tar.bz2 llvm-84a4f73a8ed722538cdbf04fd9730826444502aa.tar.xz |
Sparc: disable printing of jmp/call aliases (C++ does it)
These aliases are handled entirely in C++ and only having TableGen InstAliases
for some of them was confusing LLVM.
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@208966 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc')
-rw-r--r-- | lib/Target/Sparc/SparcInstrAliases.td | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/Sparc/SparcInstrAliases.td b/lib/Target/Sparc/SparcInstrAliases.td index 33c2aa1023..d36f67b942 100644 --- a/lib/Target/Sparc/SparcInstrAliases.td +++ b/lib/Target/Sparc/SparcInstrAliases.td @@ -281,12 +281,12 @@ defm : fp_cond_alias<"o", 0b1111>; // Instruction aliases for JMPL. // jmp addr -> jmpl addr, %g0 -def : InstAlias<"jmp $addr", (JMPLrr G0, MEMrr:$addr)>; -def : InstAlias<"jmp $addr", (JMPLri G0, MEMri:$addr)>; +def : InstAlias<"jmp $addr", (JMPLrr G0, MEMrr:$addr), 0>; +def : InstAlias<"jmp $addr", (JMPLri G0, MEMri:$addr), 0>; // call addr -> jmpl addr, %o7 -def : InstAlias<"call $addr", (JMPLrr O7, MEMrr:$addr)>; -def : InstAlias<"call $addr", (JMPLri O7, MEMri:$addr)>; +def : InstAlias<"call $addr", (JMPLrr O7, MEMrr:$addr), 0>; +def : InstAlias<"call $addr", (JMPLri O7, MEMri:$addr), 0>; // retl -> RETL 8 def : InstAlias<"retl", (RETL 8)>; |