[all-commits] [llvm/llvm-project] 7780e5: [AsmPrinter] Fix AsmPrinterAnalysis::Result::inval...
Jim Lin via All-commits
all-commits at lists.llvm.org
Wed Apr 15 17:39:13 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7780e546771cc9a206590c802a9f1b4e4cbd08f6
https://github.com/llvm/llvm-project/commit/7780e546771cc9a206590c802a9f1b4e4cbd08f6
Author: Jim Lin <jim at andestech.com>
Date: 2026-04-16 (Thu, 16 Apr 2026)
Changed paths:
M llvm/include/llvm/CodeGen/AsmPrinterAnalysis.h
Log Message:
-----------
[AsmPrinter] Fix AsmPrinterAnalysis::Result::invalidate to take PreservedAnalyses by const reference (#191742)
The invalidate method was taking PreservedAnalyses by value instead of
by const reference, causing an unnecessary copy on every invalidation
query. All other analysis invalidate methods in LLVM use const
reference.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply at anthropic.com>
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