diff options
| author | Daniel Cederman <cederman@gaisler.com> | 2018-09-27 12:34:53 +0000 |
|---|---|---|
| committer | Daniel Cederman <cederman@gaisler.com> | 2018-09-27 12:34:53 +0000 |
| commit | b35d3a273321a570f9c2d938a840aabbd14dd336 (patch) | |
| tree | 66d559e34317f2e19992aa3b676b5827489a9121 /llvm/lib/Target | |
| parent | c1968ba5d339bf34612d32a31f8cd993dd7e7ab2 (diff) | |
| download | bcm5719-llvm-b35d3a273321a570f9c2d938a840aabbd14dd336.tar.gz bcm5719-llvm-b35d3a273321a570f9c2d938a840aabbd14dd336.zip | |
[Sparc] Add unimp alias
Summary: Use 0 as the default immediate for the UNIMP instruction.
This matches the behavior in gas.
Reviewers: jyknight, venkatra
Subscribers: fedor.sergeev, jrtc27, llvm-commits
Differential Revision: https://reviews.llvm.org/D51526
llvm-svn: 343203
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/Sparc/SparcInstrAliases.td | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/Sparc/SparcInstrAliases.td b/llvm/lib/Target/Sparc/SparcInstrAliases.td index fc6844c3985..35987390d7b 100644 --- a/llvm/lib/Target/Sparc/SparcInstrAliases.td +++ b/llvm/lib/Target/Sparc/SparcInstrAliases.td @@ -476,6 +476,9 @@ def : InstAlias<"pwr $simm13, %psr", (PWRPSRri G0, i32imm:$simm13), 0>; // flush -> flush %g0 def : InstAlias<"flush", (FLUSH), 0>; +// unimp -> unimp 0 +def : InstAlias<"unimp", (UNIMP 0), 0>; + def : MnemonicAlias<"iflush", "flush">; def : MnemonicAlias<"stub", "stb">; |

