[all-commits] [llvm/llvm-project] 5379f1: [MIPS, test] Fix use of undef FileCheck var

RoboTux via All-commits all-commits at lists.llvm.org
Thu Apr 1 16:59:58 PDT 2021


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

  Changed paths:
    M llvm/test/CodeGen/Mips/sr1.ll

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

LLVM test CodeGen/Mips/sr1.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 removes the definition and uses of variable to check each
line independently, making the check stronger than the current one.

Reviewed By: dsanders

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




More information about the All-commits mailing list