diff options
author | Rahul Joshi <rjoshi@nvidia.com> | 2025-04-15 07:49:01 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-15 07:49:01 -0700 |
commit | 478065882303823623e1bc2d62b2a98097f9f53d (patch) | |
tree | 95352ed2ac95f0db50033863155a2933ad862c6f /llvm/lib/Support/ProgramStack.cpp | |
parent | 57025b42c43b2f14f7e58692bc19cd53d1b8a45e (diff) | |
download | llvm-478065882303823623e1bc2d62b2a98097f9f53d.zip llvm-478065882303823623e1bc2d62b2a98097f9f53d.tar.gz llvm-478065882303823623e1bc2d62b2a98097f9f53d.tar.bz2 |
[NFC][TableGen] DecoderEmitter optimize scope stack in `Filter::emitTableEntry` (#135693)
- Create a new stack scope only in the fallthrough case.
- For the non-fallthrough cases, any fixup entries will naturally be
added to the existing scope without needing to copy them manually.
- Verified that the generated `GenDisassembler` files are identical with
and without this change.
Diffstat (limited to 'llvm/lib/Support/ProgramStack.cpp')
0 files changed, 0 insertions, 0 deletions