aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/c99-variable-length-array.cpp
diff options
context:
space:
mode:
authorAlexander Richardson <alexrichardson@google.com>2025-09-30 08:16:46 -0700
committerGitHub <noreply@github.com>2025-09-30 08:16:46 -0700
commit8b445ab68452fc81a1f0e662c11c3989ca98928c (patch)
treebf4f570fcadd36a3456d096a81ee5745f8481679 /clang/test/CodeGenCXX/c99-variable-length-array.cpp
parentebcf025e2e84da7557350e46891125f6f34fbbfe (diff)
downloadllvm-8b445ab68452fc81a1f0e662c11c3989ca98928c.zip
llvm-8b445ab68452fc81a1f0e662c11c3989ca98928c.tar.gz
llvm-8b445ab68452fc81a1f0e662c11c3989ca98928c.tar.bz2
[CodeGen] Fix performance regression introduced in b05101b
The isNormalValueType = false flag was not set for this pseudo value type, which caused significant size increases for some classes: the size of the TargetLoweringBase class to 1.5 MB, because the size of that class is quadratic in MVT::VALUETYPE_SIZE, and this commit increased that from 256 to 504. Reported by: abadams Fixes: b05101b ("[TableGen, CodeGen, CHERI] Add support for the cPTR wildcard value type.") Reviewed By: nikic Pull Request: https://github.com/llvm/llvm-project/pull/161313
Diffstat (limited to 'clang/test/CodeGenCXX/c99-variable-length-array.cpp')
0 files changed, 0 insertions, 0 deletions