forked from OSchip/llvm-project
[CodeGen] Remove out operands from PATCHABLE_OP
The current model requires 1 out operand, but it is not used nor created. This fixed an x86 machine verifier issue. Part of PR27481. llvm-svn: 345384
This commit is contained in:
parent
c443e7ef55
commit
08d321c9f9
|
@ -1104,7 +1104,7 @@ def FAULTING_OP : StandardPseudoInstruction {
|
|||
let isBranch = 1;
|
||||
}
|
||||
def PATCHABLE_OP : StandardPseudoInstruction {
|
||||
let OutOperandList = (outs unknown:$dst);
|
||||
let OutOperandList = (outs);
|
||||
let InOperandList = (ins variable_ops);
|
||||
let usesCustomInserter = 1;
|
||||
let mayLoad = 1;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; RUN: llc -filetype=obj -o - -mtriple=x86_64-apple-macosx < %s | llvm-objdump -triple x86_64-apple-macosx -disassemble - | FileCheck %s
|
||||
; RUN: llc -mtriple=x86_64-apple-macosx < %s | FileCheck %s --check-prefix=CHECK-ALIGN
|
||||
; RUN: llc -verify-machineinstrs -filetype=obj -o - -mtriple=x86_64-apple-macosx < %s | llvm-objdump -triple x86_64-apple-macosx -disassemble - | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs -mtriple=x86_64-apple-macosx < %s | FileCheck %s --check-prefix=CHECK-ALIGN
|
||||
|
||||
declare void @callee(i64*)
|
||||
|
||||
|
|
Loading…
Reference in New Issue