diff --git a/include/llvm/Target/Target.td b/include/llvm/Target/Target.td index 96641dda700..abb1bb431f6 100644 --- a/include/llvm/Target/Target.td +++ b/include/llvm/Target/Target.td @@ -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; diff --git a/test/CodeGen/X86/patchable-prologue.ll b/test/CodeGen/X86/patchable-prologue.ll index c8daff33181..3779bc39531 100644 --- a/test/CodeGen/X86/patchable-prologue.ll +++ b/test/CodeGen/X86/patchable-prologue.ll @@ -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*)