mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 12:19:53 +00:00
Mark EH_RETURN64 as CodeGenOnly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94205 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b0706d1859
commit
8a3ee718cd
@ -207,7 +207,7 @@ let isBranch = 1, isTerminator = 1, isBarrier = 1, isIndirectBranch = 1 in {
|
||||
// EH Pseudo Instructions
|
||||
//
|
||||
let isTerminator = 1, isReturn = 1, isBarrier = 1,
|
||||
hasCtrlDep = 1 in {
|
||||
hasCtrlDep = 1, isCodeGenOnly = 1 in {
|
||||
def EH_RETURN64 : I<0xC3, RawFrm, (outs), (ins GR64:$addr),
|
||||
"ret\t#eh_return, addr: $addr",
|
||||
[(X86ehret GR64:$addr)]>;
|
||||
|
@ -16,7 +16,9 @@
|
||||
movl %eax, 10(%ebp, %ebx, 4)
|
||||
// CHECK: movl %eax, 10(,%ebx,4)
|
||||
movl %eax, 10(, %ebx, 4)
|
||||
|
||||
// CHECK: ret
|
||||
ret
|
||||
|
||||
// FIXME: Check that this matches SUB32ri8
|
||||
// CHECK: subl $1, %eax
|
||||
subl $1, %eax
|
||||
|
Loading…
Reference in New Issue
Block a user