HomePhabricator

[PowerPC, test] Fix use of undef FileCheck var

Authored by thopre on Apr 5 2021, 3:28 AM.

Description

[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

Details

Committed
thopreApr 9 2021, 4:55 AM
Reviewer
nemanjai
Differential Revision
D99881: [PowerPC, test] Fix use of undef FileCheck var
Parents
rGbb69173ae5d1: [PowerPC, test] Fix use of undef FileCheck var
Branches
Unknown
Tags
Unknown