diff options
author | Jay Foad <jay.foad@amd.com> | 2020-10-13 14:40:27 +0100 |
---|---|---|
committer | Jay Foad <jay.foad@amd.com> | 2020-10-13 16:22:00 +0100 |
commit | b59d8d7c72546bf3f81889f4ce02a68c902eddd2 (patch) | |
tree | aa185c5d552759ffdc696fd2326a1fbd89f2e099 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 6733b2544794f2703f19f07aa7c6806408e36160 (diff) | |
download | llvm-b59d8d7c72546bf3f81889f4ce02a68c902eddd2.zip llvm-b59d8d7c72546bf3f81889f4ce02a68c902eddd2.tar.gz llvm-b59d8d7c72546bf3f81889f4ce02a68c902eddd2.tar.bz2 |
[AMDGPU][GlobalISel] Compute known bits for zero-extending loads
Implement computeKnownBitsForTargetInstr for G_AMDGPU_BUFFER_LOAD_UBYTE
and G_AMDGPU_BUFFER_LOAD_USHORT. This allows generic combines to remove
some unnecessary G_ANDs.
Differential Revision: https://reviews.llvm.org/D89316
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions