[all-commits] [llvm/llvm-project] c9d7f7: [Headers][NFC] Deduplicate gpu_match_ between targ...

Jon Chesterfield via All-commits all-commits at lists.llvm.org
Thu Mar 13 08:44:46 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c9d7f707c101896294d2f4ccbf26329894295dc9
      https://github.com/llvm/llvm-project/commit/c9d7f707c101896294d2f4ccbf26329894295dc9
  Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
  Date:   2025-03-13 (Thu, 13 Mar 2025)

  Changed paths:
    M clang/lib/Headers/amdgpuintrin.h
    M clang/lib/Headers/gpuintrin.h
    M clang/lib/Headers/nvptxintrin.h

  Log Message:
  -----------
  [Headers][NFC] Deduplicate gpu_match_ between targets via inlining (#131141)

Declare a few functions before including the target specific headers
then define a fallback_match_{any,all} used by amdgpu and by older
nvptx.

Fixes a minor bug on pre-volta where one of the four fallback paths was
missing a sync_lane.



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