diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2018-06-15 09:56:31 +0000 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2018-06-15 09:56:31 +0000 |
commit | aa8587d1fcfba6b54a826d2590ddf477261b6800 (patch) | |
tree | b8e2fff13843117ae1b495003829784f1ca8d156 /clang/lib/Serialization/ModuleManager.cpp | |
parent | 1503fc0fd018ad30e02bb8c880330a2e351e4e76 (diff) | |
download | bcm5719-llvm-aa8587d1fcfba6b54a826d2590ddf477261b6800.tar.gz bcm5719-llvm-aa8587d1fcfba6b54a826d2590ddf477261b6800.zip |
[AMDGPU] Recognize x & (-1 >> (32 - y)) pattern.
Summary:
D47980 will canonicalize the `x << (32 - y) >> (32 - y)`,
which is the pattern the AMDGPU expects to `x & (-1 >> (32 - y))`,
which is not recognized by AMDGPU.
Thus, it needs to be recognized, too.
Reviewers: nhaehnle, bogner, tstellar, arsenm
Reviewed By: arsenm
Subscribers: arsenm, kzhuravl, wdng, yaxunl, dstuttard, tpr, t-tye, llvm-commits
Tags: #amdgpu
Differential Revision: https://reviews.llvm.org/D48007
llvm-svn: 334815
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions