aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/FileManager.cpp
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2024-06-12 20:08:54 +0100
committerGitHub <noreply@github.com>2024-06-12 20:08:54 +0100
commitabedb3b8356d5d56f1c575c4f7682fba2cb19787 (patch)
tree752e729258d943bb1bd03a579e809eddb46e402d /clang/lib/Basic/FileManager.cpp
parent987b59abd0f7353cabf2f620a61ec903a885522a (diff)
downloadllvm-abedb3b8356d5d56f1c575c4f7682fba2cb19787.zip
llvm-abedb3b8356d5d56f1c575c4f7682fba2cb19787.tar.gz
llvm-abedb3b8356d5d56f1c575c4f7682fba2cb19787.tar.bz2
[CodeGenTypes] Speed up getVectorElementType and getVectorMinNumElements (#95282)
Implement MVT::getVectorElementType and MVT::getVectorMinNumElements with table lookup instead of switch. This speeds up "check-llvm-codegen-amdgpu" by about 7% in my Release build.
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions