[all-commits] [llvm/llvm-project] 5c3784: [NFC][AMDGPU] Add test for unfold-masked-merge-sca...
Harrison Hao via All-commits
all-commits at lists.llvm.org
Mon May 19 09:25:17 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5c3784023fcfa608d24364ca11cd688c5805a55e
https://github.com/llvm/llvm-project/commit/5c3784023fcfa608d24364ca11cd688c5805a55e
Author: Harrison Hao <57025411+harrisonGPU at users.noreply.github.com>
Date: 2025-05-20 (Tue, 20 May 2025)
Changed paths:
A llvm/test/CodeGen/AMDGPU/unfold-masked-merge-scalar-variablemask.ll
Log Message:
-----------
[NFC][AMDGPU] Add test for unfold-masked-merge-scalar-variablemask.ll (#140093)
This enables DAGCombine to recognize and form and_not + or patterns when
hasAndNot is true, allowing better SALU codegen for masked merge idioms.
For example:
(A & (B ^ C)) ^ C → (A & B) | (~A & C)
References:
* https://reviews.llvm.org/D45563#change-EG4Z6zDTofCc
* https://bugs.llvm.org/show_bug.cgi?id=6773
* https://graphics.stanford.edu/~seander/bithacks.html#MaskedMerge
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