[all-commits] [llvm/llvm-project] 9138d9: [OpenMP] Don't use bound architecture when checkin...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu Feb 3 14:17:53 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9138d96f8b01605b213e8c4d587853a46cca3f44
      https://github.com/llvm/llvm-project/commit/9138d96f8b01605b213e8c4d587853a46cca3f44
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-02-03 (Thu, 03 Feb 2022)

  Changed paths:
    M clang/lib/Driver/Driver.cpp
    M clang/test/Driver/openmp-offload-gpu.c

  Log Message:
  -----------
  [OpenMP] Don't use bound architecture when checking cache on the host

When we are creating jobs for the new driver we first check the cache to
see if the job was already created as a part of the offloading
toolchain. This would sometimes fail if the bound architecture was set
for the host during offloading. We want to ingore this because it is not
relevant for looking up host actions. Previously it was set on some
machines and would cause the cache lookup to fail.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list