summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/MergeFunc/unnamed-addr-reprocessing.ll
Commit message (Collapse)AuthorAgeFilesLines
* [MergeFuncs] Call removeUsers() prior to unnamed_addr RAUWwhitequark2018-11-081-0/+35
Summary: For unnamed_addr functions we RAUW instead of only replacing direct callers. However, functions in which replacements were performed currently are not added back to the worklist, resulting in missed merging opportunities. Fix this by calling removeUsers() prior to RAUW. Reviewers: jfb, whitequark Reviewed By: whitequark Subscribers: rkruppe, llvm-commits Differential Revision: https://reviews.llvm.org/D53262 llvm-svn: 346385
OpenPOWER on IntegriCloud