aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorMateja Marjanovic <mailto:mmarjano@amd.com>2023-05-03 17:32:22 +0200
committerMateja Marjanovic <mailto:mmarjano@amd.com>2023-05-03 17:32:24 +0200
commitcf76074a366b3727a1aa8946da6c520130de39be (patch)
treeb58dc833791cf767c26f44126e307e94baed447c /llvm/unittests/Support/VirtualFileSystemTest.cpp
parent6175ec0bb69466d2689c47d54a55d6d3c32426df (diff)
downloadllvm-cf76074a366b3727a1aa8946da6c520130de39be.zip
llvm-cf76074a366b3727a1aa8946da6c520130de39be.tar.gz
llvm-cf76074a366b3727a1aa8946da6c520130de39be.tar.bz2
[AMDGPU][GlobalISel] Check exact width in get*ClassForBitWidth and widen if necessary
Instead of checking if the given bitwidth is less or equal to a bitwidth of an existing RegClass, check if it has the exact same value. For LLVM vector types that don't have a corresponding Register Class, widen them during legalization. That goes for G_EXTRACT_VECTOR_ELT, G_INSERT_VECTOR_ELT and G_BUILD_VECTOR. Differential revision: https://reviews.llvm.org/D148096 Reviewers: foad, arsenm
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions