[all-commits] [llvm/llvm-project] 73a7d4: [PowerPC, test] Fix use of undef FileCheck var

RoboTux via All-commits all-commits at lists.llvm.org
Wed Apr 7 01:45:34 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 73a7d451a2ca7a90fb09b2cd934948ae30cc72c3
      https://github.com/llvm/llvm-project/commit/73a7d451a2ca7a90fb09b2cd934948ae30cc72c3
  Author: Thomas Preud'homme <thomasp at graphcore.ai>
  Date:   2021-04-07 (Wed, 07 Apr 2021)

  Changed paths:
    M llvm/test/CodeGen/PowerPC/ppc-disable-non-volatile-cr.ll

  Log Message:
  -----------
  [PowerPC, test] Fix use of undef FileCheck var

LLVM test CodeGen/PowerPC/ppc-disable-non-volatile-cr.ll tries to check
for the absence of a sequence 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: NeHuang, nemanjai

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




More information about the All-commits mailing list