diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2025-06-13 13:30:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-13 13:30:18 -0700 |
commit | a89df72ec0864301f102296dcf7b3bd22844adf5 (patch) | |
tree | dbeeaa99d4503f762fcb3684f2b1d7094d36f19c /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 5064a5bc3e958aeb18bf3f8c7144c99cc3103a91 (diff) | |
download | llvm-a89df72ec0864301f102296dcf7b3bd22844adf5.zip llvm-a89df72ec0864301f102296dcf7b3bd22844adf5.tar.gz llvm-a89df72ec0864301f102296dcf7b3bd22844adf5.tar.bz2 |
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions