llvm-project
a89df72e - WholeProgramDevirt: Fix importing in llvm.type.checked.load case.

Commit
227 days ago
WholeProgramDevirt: Fix importing in llvm.type.checked.load case. We were clearing SummaryTypeCheckedLoadUsers to prevent devirtualized llvm.type.checked.load calls from being converted to llvm.type.test, which meant that AddCalls would not see them in the list of callsites and they would not get imported. Fix that by not clearing SummaryTypeCheckedLoadUsers so that the list survives to AddCalls and using AllCallSitesDevirted to control whether to convert them instead. Reviewers: teresajohnson Reviewed By: teresajohnson Pull Request: https://github.com/llvm/llvm-project/pull/144019
Author
pcc pcc
Parents
Loading