[llvm] f4d3765 - CodeGen: Move undef_tied_input declaration
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 18 10:33:30 PST 2020
Author: Matt Arsenault
Date: 2020-02-18T10:33:10-08:00
New Revision: f4d3765fd980fb8953d6d4c9f9328c08644cf1d8
URL: https://github.com/llvm/llvm-project/commit/f4d3765fd980fb8953d6d4c9f9328c08644cf1d8
DIFF: https://github.com/llvm/llvm-project/commit/f4d3765fd980fb8953d6d4c9f9328c08644cf1d8.diff
LOG: CodeGen: Move undef_tied_input declaration
This doesn't belong in ARM specific code since it's generally
recognized by tablegen.
Added:
Modified:
llvm/include/llvm/Target/Target.td
llvm/lib/Target/ARM/ARMInstrFormats.td
Removed:
################################################################################
diff --git a/llvm/include/llvm/Target/Target.td b/llvm/include/llvm/Target/Target.td
index c955d5571c05..f01790e73cd4 100644
--- a/llvm/include/llvm/Target/Target.td
+++ b/llvm/include/llvm/Target/Target.td
@@ -900,6 +900,10 @@ def untyped_imm_0 : TypedOperand<"OPERAND_GENERIC_IMM_0"> {
///
def zero_reg;
+/// undef_tied_input - Special node to indicate an input register tied
+/// to an output which defaults to IMPLICIT_DEF.
+def undef_tied_input;
+
/// All operands which the MC layer classifies as predicates should inherit from
/// this class in some manner. This is already handled for the most commonly
/// used PredicateOperand, but may be useful in other circumstances.
diff --git a/llvm/lib/Target/ARM/ARMInstrFormats.td b/llvm/lib/Target/ARM/ARMInstrFormats.td
index 1da32ad2af6c..6e4a8ebab14c 100644
--- a/llvm/lib/Target/ARM/ARMInstrFormats.td
+++ b/llvm/lib/Target/ARM/ARMInstrFormats.td
@@ -205,7 +205,6 @@ def VPTPredROperand : AsmOperandClass {
let Name = "VPTPredR";
let PredicateMethod = "isVPTPred";
}
-def undef_tied_input;
// Operand classes for the cluster of MC operands describing a
// VPT-predicated MVE instruction.
More information about the llvm-commits
mailing list