[PowerPC, test] Fix use of undef FileCheck var
authorThomas Preud'homme <thomasp@graphcore.ai>
Mon, 5 Apr 2021 10:28:35 +0000 (11:28 +0100)
committerThomas Preud'homme <thomasp@graphcore.ai>
Fri, 9 Apr 2021 11:55:02 +0000 (12:55 +0100)
commit0494b6b6769f9ceda7e019a30e83a472d23afff5
tree53118c31164433e218f31cd3848271ec31f3d73d
parentbb69173ae5d125b5d5238d0b34d8cdc02db4ba69
[PowerPC, test] Fix use of undef FileCheck var

LLVM test CodeGen/PowerPC/ctrloops-softfloat.ll tries to check for the
absence of sequences of instructions with several CHECK-NOT with one of
those directives using a variable defined in another. However CHECK-NOT
are checked independently so that is using a variable defined in a
pattern that should not occur in the input.

This commit changes occurence of the variable for the regex used in its
definition, thereby making each CHECK-NOT independent.

Reviewed By: nemanjai

Differential Revision: https://reviews.llvm.org/D99881
llvm/test/CodeGen/PowerPC/ctrloops-softfloat.ll