[all-commits] [llvm/llvm-project] 58e458: [OpenMP, test] Fix use of undef DECL FileCheck var

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


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

  Changed paths:
    M clang/test/OpenMP/target_data_use_device_ptr_if_codegen.cpp

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

OpenMP test target_data_use_device_ptr_if_codegen contains a CHECK-NOT
directive using an undefined DECL FileCheck variable. It seems copied
from target_data_use_device_ptr_codegen where there's a CHECK for a load
that defined the variable. Since there is no corresponding load in this
testcase, the simplest is to simply forbid any store and get rid of the
variable altogether.

Reviewed By: ABataev

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




More information about the All-commits mailing list