]> granicus.if.org Git - llvm/commit
[PM] Fix a silly bug in my recent update to the CG update logic.
authorChandler Carruth <chandlerc@gmail.com>
Wed, 12 Jul 2017 09:08:11 +0000 (09:08 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 12 Jul 2017 09:08:11 +0000 (09:08 +0000)
commit3870ce243f005bf9e044ce92018d30d4b6adcc06
treefbe2a34c0b807f03b031b4fb3b47acea0dec8e7d
parent8577619105d7dadedad1aee27f4eb0dec0e249fb
[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
lib/Analysis/CGSCCPassManager.cpp
unittests/Analysis/CGSCCPassManagerTest.cpp