OSDN Git Service

[PM/Inliner] Fix a bug in r297374 where we would leave stale calls in
authorChandler Carruth <chandlerc@gmail.com>
Thu, 16 Mar 2017 10:45:42 +0000 (10:45 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 16 Mar 2017 10:45:42 +0000 (10:45 +0000)
commitc1778830983cfb9d09f2f663e4a085cacb4a1c47
treef20d8142d84940ee05c6c1ec4033fd983480dafd
parent9a95bffff744a653a5aaf0bd57bd425d19e79f47
[PM/Inliner] Fix a bug in r297374 where we would leave stale calls in
the work queue and crash when trying to visit them after deleting the
function containing those calls.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297940 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/Inliner.cpp
test/Transforms/Inline/internal-scc-members.ll [new file with mode: 0644]