[llvm] r345316 - [CodeGen] Remove operands from FENTRY_CALL
Francis Visoiu Mistrih via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 25 14:12:15 PDT 2018
Author: thegameg
Date: Thu Oct 25 14:12:15 2018
New Revision: 345316
URL: http://llvm.org/viewvc/llvm-project?rev=345316&view=rev
Log:
[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
Modified:
llvm/trunk/include/llvm/Target/Target.td
llvm/trunk/test/CodeGen/X86/fentry-insertion.ll
Modified: llvm/trunk/include/llvm/Target/Target.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/Target.td?rev=345316&r1=345315&r2=345316&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/Target.td (original)
+++ llvm/trunk/include/llvm/Target/Target.td Thu Oct 25 14:12:15 2018
@@ -1164,8 +1164,8 @@ def PATCHABLE_TYPED_EVENT_CALL : Standar
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;
Modified: llvm/trunk/test/CodeGen/X86/fentry-insertion.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/fentry-insertion.ll?rev=345316&r1=345315&r2=345316&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/fentry-insertion.ll (original)
+++ llvm/trunk/test/CodeGen/X86/fentry-insertion.ll Thu Oct 25 14:12:15 2018
@@ -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"
More information about the llvm-commits
mailing list