[all-commits] [llvm/llvm-project] 262f48: [Hexagon, test] Fix use of undef FileCheck var
RoboTux via All-commits
all-commits at lists.llvm.org
Fri Apr 2 10:47:59 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 262f4872aea2e9593cc7ee20f4fe5691fb9f0386
https://github.com/llvm/llvm-project/commit/262f4872aea2e9593cc7ee20f4fe5691fb9f0386
Author: Thomas Preud'homme <thomasp at graphcore.ai>
Date: 2021-04-02 (Fri, 02 Apr 2021)
Changed paths:
M llvm/test/CodeGen/Hexagon/hwloop3.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list