[all-commits] [llvm/llvm-project] 68ed64: [LegacyPM] Avoid a redundant map lookup in setLast...
Jay Foad via All-commits
all-commits at lists.llvm.org
Fri Nov 27 02:46:50 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 68ed6447855632b954b55f63807481eaa44705df
https://github.com/llvm/llvm-project/commit/68ed6447855632b954b55f63807481eaa44705df
Author: Jay Foad <jay.foad at amd.com>
Date: 2020-11-27 (Fri, 27 Nov 2020)
Changed paths:
M llvm/lib/IR/LegacyPassManager.cpp
Log Message:
-----------
[LegacyPM] Avoid a redundant map lookup in setLastUser. NFC.
As a bonus this makes it (IMO) obvious that the iterator is not
invalidated, so remove the comment explaining that.
More information about the All-commits
mailing list