diff options
author | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2020-02-06 14:47:10 -0800 |
---|---|---|
committer | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2020-02-06 17:39:24 -0800 |
commit | cacc3b7a557af837a3ae01cd085e3d435aae6e1f (patch) | |
tree | 5fc81bb1b349c657a67235f9c5895ef923d84d83 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 2863c269683b89961025d8d5c61a87ade90d3be3 (diff) | |
download | llvm-cacc3b7a557af837a3ae01cd085e3d435aae6e1f.zip llvm-cacc3b7a557af837a3ae01cd085e3d435aae6e1f.tar.gz llvm-cacc3b7a557af837a3ae01cd085e3d435aae6e1f.tar.bz2 |
[AMDGPU] Cleanup assumptions about generated subregs
We are using countPopulation on a LaneBitmask to determine
a number of registers it covers. This is the assumption which
does not necessarily need to be true. It is not changed but
factored into a single call SIRegisterInfo::getNumCoveredRegs().
Some other places are cleaned up with respect to assumptions
about subreg indexes values and tablegen behavior.
Differential Revision: https://reviews.llvm.org/D74177
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions