Fix a tblgen problem handling variable_ops in tblgen instruction
[oota-llvm.git] / lib / Target / Target.td
index a268e164107f2f745aa2e2c1bba9a29ba77966e9..92c40570af3e8f51fc1d07527c7a9104f3d44dfa 100644 (file)
@@ -259,6 +259,12 @@ def ins;
 /// of operands.
 def variable_ops;
 
+/// discard definition - Mark this operand as being matched in the input
+/// but omitted from the output. This is necessary in some situations
+/// involving variable_ops to help the pattern matcher determine which
+/// input nodes to forward on to the variable_ops portion of the output.
+def discard;
+
 /// ptr_rc definition - Mark this operand as being a pointer value whose
 /// register class is resolved dynamically via a callback to TargetInstrInfo.
 /// FIXME: We should probably change this to a class which contain a list of