[all-commits] [llvm/llvm-project] 9a584b: [Clang] Add handlers for 'match_any' and 'match_al...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Mon Feb 17 12:06:45 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9a584b07d7c29cec65bb446782c4ddddaf72e6d8
https://github.com/llvm/llvm-project/commit/9a584b07d7c29cec65bb446782c4ddddaf72e6d8
Author: Joseph Huber <huberjn at outlook.com>
Date: 2025-02-17 (Mon, 17 Feb 2025)
Changed paths:
M clang/lib/Headers/amdgpuintrin.h
M clang/lib/Headers/nvptxintrin.h
M libc/src/__support/GPU/utils.h
M libc/test/integration/src/__support/GPU/CMakeLists.txt
A libc/test/integration/src/__support/GPU/match.cpp
Log Message:
-----------
[Clang] Add handlers for 'match_any' and 'match_all' to `gpuintrin.h` (#127504)
Summary:
These helpers are very useful but currently absent. They allow the user
to get a bitmask representing the matches within the warp. I have made
an executive decision to drop the `predicate` return from `match_all`
because it's easily testable with `match_all() == __activemask()`.
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