[all-commits] [llvm/llvm-project] 80fb74: [test, HardwareLoops] Fix use of var defined in CH...

RoboTux via All-commits all-commits at lists.llvm.org
Tue Mar 30 07:06:44 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80fb7434e9e7bea65a49d2234092b48419e5dc52
      https://github.com/llvm/llvm-project/commit/80fb7434e9e7bea65a49d2234092b48419e5dc52
  Author: Thomas Preud'homme <thomasp at graphcore.ai>
  Date:   2021-03-30 (Tue, 30 Mar 2021)

  Changed paths:
    M llvm/test/Transforms/HardwareLoops/ARM/structure.ll

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

LLVM test Transforms/HardwareLoops/ARM/structure.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 llvm.loop.decrement.i32 which
rules out the presence of the whole sequence and does not involve an
undefined variable.

Reviewed By: dmgreen

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




More information about the All-commits mailing list