[all-commits] [llvm/llvm-project] fc6024: [TableGen][DecoderEmitter] Shrink lifetime of `Fil...
Sergei Barannikov via All-commits
all-commits at lists.llvm.org
Sat Aug 16 21:02:38 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fc6024d8959cdb82e5421787882288e26ee728bc
https://github.com/llvm/llvm-project/commit/fc6024d8959cdb82e5421787882288e26ee728bc
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2025-08-17 (Sun, 17 Aug 2025)
Changed paths:
M llvm/utils/TableGen/DecoderEmitter.cpp
Log Message:
-----------
[TableGen][DecoderEmitter] Shrink lifetime of `Filters` vector (NFC) (#153998)
Only one element of the `Filters` vector (see `BestIndex`) is used
outside the method that fills it. Localize the vector to the method,
replacing the member variable with the only used element.
Part of an effort to simplify DecoderEmitter code.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list