diff options
author | Jongmyeong Choi <cheese.choi@gmail.com> | 2025-09-24 12:35:43 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-23 20:35:43 -0700 |
commit | 60b3cc69af52fa4be05cdb1632efdca7266ed823 (patch) | |
tree | 4e5adaf3b570d9682139426f874807ae58797548 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 3b456fa974b9aff7f91c02ce7917dd17550b9947 (diff) | |
download | llvm-60b3cc69af52fa4be05cdb1632efdca7266ed823.zip llvm-60b3cc69af52fa4be05cdb1632efdca7266ed823.tar.gz llvm-60b3cc69af52fa4be05cdb1632efdca7266ed823.tar.bz2 |
[CodeGen] Fix cleanup attribute for C89 for-loop init variables (#156643)
In C89, for-init variables have function scope, so cleanup should occur
at function exit, not loop exit. This implements deferred cleanup
registration for C89 mode while preserving C99+ behavior.
Fixes #154624
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions