[all-commits] [llvm/llvm-project] 623475: [test, LoopVectorize] Fix use of var defined in CH...

RoboTux via All-commits all-commits at lists.llvm.org
Fri Apr 9 02:02:15 PDT 2021


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

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/pr34681.ll

  Log Message:
  -----------
  [test, LoopVectorize] Fix use of var defined in CHECK-NOT

LLVM test Transforms/LoopVectorize/pr34681.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 only checks for the absence of icmp ne 1 which rules out the
presence of the whole sequence and does not involve an undefined
variable.

Reviewed By: fhahn

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




More information about the All-commits mailing list