diff options
author | Abinav Puthan Purayil <abinav.puthanpurayil@amd.com> | 2021-10-15 09:29:58 +0530 |
---|---|---|
committer | Abinav Puthan Purayil <abinav.puthanpurayil@amd.com> | 2021-10-15 19:49:44 +0530 |
commit | de3038400b163d91dca743210ce9b10001411208 (patch) | |
tree | 45a907c3f308388297f68c3214d6e116a8ae8ae5 /clang/lib/Lex/ModuleMap.cpp | |
parent | 5bf32a0e4841d56b481344fb4d074ac96a854261 (diff) | |
download | llvm-de3038400b163d91dca743210ce9b10001411208.zip llvm-de3038400b163d91dca743210ce9b10001411208.tar.gz llvm-de3038400b163d91dca743210ce9b10001411208.tar.bz2 |
[AMDGPU] Avoid redundant calls to numBits in AMDGPUCodeGenPrepare::replaceMulWithMul24().
The isU24() and isI24() calls numBits to make its decision. This change
replaces them with the internal numBits call so that we can use its
result for the > 32 bit width cases.
Differential Revision: https://reviews.llvm.org/D111864
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions