aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorTimm Baeder <tbaeder@redhat.com>2025-09-18 15:26:02 +0200
committerGitHub <noreply@github.com>2025-09-18 15:26:02 +0200
commit29620d9b8971c4eea7f5407ca206ba04c6f78d01 (patch)
tree88488e8b0a15959dc242bef71cf44ce752ec300e /llvm/lib/CodeGen/LiveDebugVariables.cpp
parentdcd0a2eecca38bbe7813ab1d99639b2d33d9f9ad (diff)
downloadllvm-29620d9b8971c4eea7f5407ca206ba04c6f78d01.zip
llvm-29620d9b8971c4eea7f5407ca206ba04c6f78d01.tar.gz
llvm-29620d9b8971c4eea7f5407ca206ba04c6f78d01.tar.bz2
[clang][bytecode] Optimize InterpStack (#159400)
Replace `StackChunk::End` with `StackChunk::Size`, mark the allocating code paths as unlikely and move `grow()` into the header, which allows us to template this for the `Size` parameter. Since we only push our primitive types on the stack and all the sizes are aligned to pointer size multiples, this only results in a few instantiations.
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions