[all-commits] [llvm/llvm-project] b62c62: [Coroutines, test] Fix use of var defined in CHECK...

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


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

  Changed paths:
    M llvm/test/Transforms/Coroutines/coro-split-sink-lifetime-02.ll

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

LLVM test Transforms/Coroutine/coro-split-sink-lifetime-O2.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 simplifies the CHECK-NOT block to only check for the
presence of any lifetime start marker since that is effectively what
the test was testing at the moment.

Reviewed By: junparser

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




More information about the All-commits mailing list