diff options
author | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2018-10-25 21:12:15 +0000 |
---|---|---|
committer | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2018-10-25 21:12:15 +0000 |
commit | 5be9e6de8998b3b6704e908fdd57ae6355a599b4 (patch) | |
tree | 361ea2f0395f139bb410520261f2c40488e02a2c | |
parent | 53e869da7d6672c7ad7e118b8969905733806afe (diff) | |
download | bcm5719-llvm-5be9e6de8998b3b6704e908fdd57ae6355a599b4.tar.gz bcm5719-llvm-5be9e6de8998b3b6704e908fdd57ae6355a599b4.zip |
[CodeGen] Remove operands from FENTRY_CALL
FENTRY_CALL is actually not taking any input / output operands. The
machine verifier complains now because the target description says that:
* It needs 1 unknown output
* It needs 1 or more variable inputs
llvm-svn: 345316
-rw-r--r-- | llvm/include/llvm/Target/Target.td | 4 | ||||
-rw-r--r-- | llvm/test/CodeGen/X86/fentry-insertion.ll | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/Target/Target.td b/llvm/include/llvm/Target/Target.td index c2c56b0aca1..96641dda700 100644 --- a/llvm/include/llvm/Target/Target.td +++ b/llvm/include/llvm/Target/Target.td @@ -1164,8 +1164,8 @@ def PATCHABLE_TYPED_EVENT_CALL : StandardPseudoInstruction { let hasSideEffects = 1; } def FENTRY_CALL : StandardPseudoInstruction { - let OutOperandList = (outs unknown:$dst); - let InOperandList = (ins variable_ops); + let OutOperandList = (outs); + let InOperandList = (ins); let AsmString = "# FEntry call"; let usesCustomInserter = 1; let mayLoad = 1; diff --git a/llvm/test/CodeGen/X86/fentry-insertion.ll b/llvm/test/CodeGen/X86/fentry-insertion.ll index c5fb3b254b2..56e32742c59 100644 --- a/llvm/test/CodeGen/X86/fentry-insertion.ll +++ b/llvm/test/CodeGen/X86/fentry-insertion.ll @@ -1,4 +1,4 @@ -; RUN: llc %s -o - | FileCheck %s +; RUN: llc %s -o - -verify-machineinstrs | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" |