diff options
author | Abinav Puthan Purayil <abinav.puthanpurayil@amd.com> | 2021-09-22 16:02:52 +0530 |
---|---|---|
committer | Abinav Puthan Purayil <abinav.puthanpurayil@amd.com> | 2021-10-26 19:07:19 +0530 |
commit | 61e3b9fefe1341e83ee959e0f533004ced0161f2 (patch) | |
tree | d98a4cf7e574b965c64bccd594bee796bf72a87c /llvm/tools/llvm-readobj/llvm-readobj.cpp | |
parent | 56b74613bf9168bb79e0088b424ec0b6dd0a66c9 (diff) | |
download | llvm-61e3b9fefe1341e83ee959e0f533004ced0161f2.zip llvm-61e3b9fefe1341e83ee959e0f533004ced0161f2.tar.gz llvm-61e3b9fefe1341e83ee959e0f533004ced0161f2.tar.bz2 |
[AMDGPU] Add constrained shift pattern matches.
The motivation for this is due to clang's conformance to
https://www.khronos.org/registry/OpenCL/specs/3.0-unified/html/OpenCL_C.html#operators-shift
which makes clang emit (<shift> a, (and b, <width> - 1)) for `a <shift> b`
in OpenCL where a is an int of bit width <width>.
Differential revision: https://reviews.llvm.org/D110231
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions