Add "swi" which is an obsolete mnemonic for "svc".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127788 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky 2011-03-17 01:46:14 +00:00
parent 3d831381a9
commit e27fa74d5f

View File

@ -1531,6 +1531,7 @@ def SVC : ABI<0b1111, (outs), (ins i32imm:$svc), IIC_Br, "svc", "\t$svc",
let Inst{23-0} = svc; let Inst{23-0} = svc;
} }
} }
def : MnemonicAlias<"swi", "svc">;
// Store Return State is a system instruction -- for disassembly only // Store Return State is a system instruction -- for disassembly only
let isCodeGenOnly = 1 in { // FIXME: This should not use submode! let isCodeGenOnly = 1 in { // FIXME: This should not use submode!