diff options
author | Chris Lattner <sabre@nondot.org> | 2010-09-08 05:38:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-09-08 05:38:31 +0000 |
commit | ba8cea450f330145cc7764e23e5d8b1aadd5e131 (patch) | |
tree | 632008abcacc901e68ab22a5515bcb05d799d726 /lib/Target/X86/X86Instr64bit.td | |
parent | 2544f426927aa6dbac8d52bd9d5e12629099da82 (diff) |
implement the iret suite of instructions properly,
fixing rdar://8403974
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113349 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86Instr64bit.td')
-rw-r--r-- | lib/Target/X86/X86Instr64bit.td | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/X86/X86Instr64bit.td b/lib/Target/X86/X86Instr64bit.td index 0884b61425..5f6c68bf88 100644 --- a/lib/Target/X86/X86Instr64bit.td +++ b/lib/Target/X86/X86Instr64bit.td @@ -117,7 +117,8 @@ def ADJCALLSTACKUP64 : I<0, Pseudo, (outs), (ins i32imm:$amt1, i32imm:$amt2), } // Interrupt Instructions -def IRET64 : RI<0xcf, RawFrm, (outs), (ins), "iret{q}", []>; +def IRET64 : RI<0xcf, RawFrm, (outs), (ins), "iretq", []>, + Requires<[In64BitMode]>; //===----------------------------------------------------------------------===// // Call Instructions... |