[all-commits] [llvm/llvm-project] e3a00d: [Assignment Tracking] Fix invalidated iterator usage
Orlando Cazalet-Hyams via All-commits
all-commits at lists.llvm.org
Fri Jan 20 06:31:17 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e3a00d51864e05b6755601543c5e2a2df44081d1
https://github.com/llvm/llvm-project/commit/e3a00d51864e05b6755601543c5e2a2df44081d1
Author: OCHyams <orlando.hyams at sony.com>
Date: 2023-01-20 (Fri, 20 Jan 2023)
Changed paths:
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
Log Message:
-----------
[Assignment Tracking] Fix invalidated iterator usage
The iterator `FirstOverlap` is invalidated after the call to `insert` - avoid
dereferencing the iterator after the call to `insert`.
Reviewed By: CarlosAlbertoEnciso
Differential Revision: https://reviews.llvm.org/D141854
More information about the All-commits
mailing list