diff options
author | Jay Foad <jay.foad@amd.com> | 2024-08-23 14:43:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-23 14:43:31 +0100 |
commit | f142f8afe21bceb00fb495468aa0b5043e98c419 (patch) | |
tree | d71ba5c2f6b6aa1af4dc4395798ea274f373245e /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | c9b6339ad40cacb729cc714342d443e781fdfca3 (diff) | |
download | llvm-f142f8afe21bceb00fb495468aa0b5043e98c419.zip llvm-f142f8afe21bceb00fb495468aa0b5043e98c419.tar.gz llvm-f142f8afe21bceb00fb495468aa0b5043e98c419.tar.bz2 |
[AMDGPU] Improve uniform argument handling in InstCombineIntrinsic (#105812)
Common up handling of intrinsics that are a no-op on uniform arguments.
This catches a couple of new cases:
readlane (readlane x, y), z -> readlane x, y
(for any z, does not have to equal y).
permlane64 (readfirstlane x) -> readfirstlane x
(and likewise for any other uniform argument to permlane64).
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions