]> granicus.if.org Git - llvm/commitdiff
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337380 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetInstrPredicate.td

index e6e5c06cd03896ec8c2b229f96f35766a3e77b04..d38279b0d65ebc651eb63f74a7dd7d5a3874e1a9 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;