HomePhabricator

[Hexagon, test] Fix use of undef FileCheck var

Authored by thopre on Apr 1 2021, 4:54 PM.

Description

[Hexagon, test] Fix use of undef FileCheck var

LLVM test CodeGen/Hexagon/hwloop3.ll tries to check for the absence of a
sequence of consecutive 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 merges the two CHECK-NOT into a single CHECK-NOT that
matches the content of two successive non-blank lines, thereby allowing
to preserve the intent of the test.

Reviewed By: bcahoon

Differential Revision: https://reviews.llvm.org/D99778

Details

Committed
thopreApr 2 2021, 10:47 AM
Reviewer
bcahoon
Differential Revision
D99778: [Hexagon, test] Fix use of undef FileCheck var
Parents
rG78a39d2a4166: [flang] TRANSFER() intrinsic function
Branches
Unknown
Tags
Unknown