[all-commits] [llvm/llvm-project] d9e986: [clang][OpenMP][test] Use x86_64-linux-gnu triple ...

Alex Bradbury via All-commits all-commits at lists.llvm.org
Mon Oct 7 03:47:36 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d9e986e915b03e2f68d9ed2b664a2511edbb6513
      https://github.com/llvm/llvm-project/commit/d9e986e915b03e2f68d9ed2b664a2511edbb6513
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2024-10-07 (Mon, 07 Oct 2024)

  Changed paths:
    M clang/test/OpenMP/declare_variant_device_isa_codegen_1.c

  Log Message:
  -----------
  [clang][OpenMP][test] Use x86_64-linux-gnu triple for test referencing avx512f feature (#111337)

This test passes as-is on non-X86 hosts only because almost no target
implements `isValidFeatureName` (the default implementation
unconditionally returns true). RISC-V does implement it, and like X86
checks that the feature name is one supported by the architecture. This
means the test creates an additional warning on RISC-V due to
`_attribute__((target("avx512f")))`.

The simple solution here is to just explicitly target x86_64-linux-gnu.



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