[TargetInstPredicate] Add definition of CheckInvalidRegisterOperand.
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Wed, 18 Jul 2018 11:16:31 +0000 (11:16 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Wed, 18 Jul 2018 11:16:31 +0000 (11:16 +0000)
This should have been part of r337378. I forgot to svn add it before committing
the change.

llvm-svn: 337380

llvm/include/llvm/Target/TargetInstrPredicate.td

index e6e5c06..d38279b 100644 (file)
@@ -111,6 +111,9 @@ class CheckRegOperand<int Index, Register R> : MCOperandPredicate<Index> {
   Register Reg = R;
 }
 
+// Check if register operand at index `Index` is the invalid register.
+class CheckInvalidRegOperand<int Index> : MCOperandPredicate<Index>;
+
 // Check that the operand at position `Index` is immediate `Imm`.
 class CheckImmOperand<int Index, int Imm> : MCOperandPredicate<Index> {
   int ImmVal = Imm;