[all-commits] [llvm/llvm-project] e92705: [test, InferFunctionAttrs] Fix use of var defined ...

RoboTux via All-commits all-commits at lists.llvm.org
Wed Mar 31 14:06:44 PDT 2021


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

  Changed paths:
    M llvm/test/Transforms/InferFunctionAttrs/annotate.ll

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

LLVM test Transforms/InferFunctionAttrs/annotate contains two RUN
invokation (UNKNOWN and NVPTX lines) which involve a CHECK-NOT directive
with a variable not defined by the enabled CHECK prefixes. This commit
fixes that by:

- enabling CHECK prefix for unknown target with specialisation when it
  differs from other targets
- checking for absence of bcmp with any attribute for NVPTX

Reviewed By: tra

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




More information about the All-commits mailing list