diff options
author | Harrison Hao <57025411+harrisonGPU@users.noreply.github.com> | 2025-05-20 00:24:54 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-20 00:24:54 +0800 |
commit | 5c3784023fcfa608d24364ca11cd688c5805a55e (patch) | |
tree | b72b4ca0d6ca8dac58bfb0b9084f6d8ef1faf4db /clang/lib/Serialization/ModuleCache.cpp | |
parent | e8a2ce1e9c9db26f2adf4ea6c65eea0299d3a211 (diff) | |
download | llvm-5c3784023fcfa608d24364ca11cd688c5805a55e.zip llvm-5c3784023fcfa608d24364ca11cd688c5805a55e.tar.gz llvm-5c3784023fcfa608d24364ca11cd688c5805a55e.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Serialization/ModuleCache.cpp')
0 files changed, 0 insertions, 0 deletions