mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-21 03:05:26 -04:00
[PM] Fix a silly bug in my recent update to the CG update logic.
I used the wrong variable to update. This was even covered by a unittest I wrote, and the comments for the unittest were correct (if confusing) but the test itself just matched the buggy behavior. =[ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307764 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -373,7 +373,7 @@ incorporateNewSCCRange(const SCCRangeT &NewSCCRange, LazyCallGraph &G,
|
||||
|
||||
// Ensure new SCCs' function analyses are updated.
|
||||
if (NeedFAMProxy)
|
||||
updateNewSCCFunctionAnalyses(*C, G, AM);
|
||||
updateNewSCCFunctionAnalyses(NewC, G, AM);
|
||||
|
||||
// Also propagate a normal invalidation to the new SCC as only the current
|
||||
// will get one from the pass manager infrastructure.
|
||||
|
||||
Reference in New Issue
Block a user