[all-commits] [llvm/llvm-project] 9deafa: [Clang] Use x86 triple for offload-Xarch.c test

David Spickett via All-commits all-commits at lists.llvm.org
Wed Feb 5 09:19:07 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9deafad7ab00c81c9869d50bfde2aa47bdaa6dd7
      https://github.com/llvm/llvm-project/commit/9deafad7ab00c81c9869d50bfde2aa47bdaa6dd7
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2025-02-05 (Wed, 05 Feb 2025)

  Changed paths:
    M clang/test/Driver/offload-Xarch.c

  Log Message:
  -----------
  [Clang] Use x86 triple for offload-Xarch.c test

This fixes an issue where your host triple is not compatible with
the 64 bit ptx being the offload architecture. At least, that's my
guess.

This failed on our Arm 32 bit bot:
https://lab.llvm.org/buildbot/#/builders/154/builds/11413/steps/5/logs/FAIL__Clang__offload-Xarch_c

Crucially it outputted:
clang: warning: argument unused during compilation: '-Xarch_nvptx64 -O3' [-Wunused-command-line-argument]

Making the triple always something 64 bit means this will work everywhere.

Fixes 455cedc805e7a42c6cfbe26a4ddd9e623cca6066 / https://github.com/llvm/llvm-project/pull/125421.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list