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

RoboTux via All-commits all-commits at lists.llvm.org
Fri Apr 9 04:55:18 PDT 2021


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

  Changed paths:
    M llvm/test/CodeGen/PowerPC/ctrloops-softfloat.ll

  Log Message:
  -----------
  [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




More information about the All-commits mailing list