diff options
| author | Bruno De Fraine <brunodf@synopsys.com> | 2025-10-24 23:33:25 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-24 23:33:25 +0200 |
| commit | e07aef9dde4cc84af8b696b97c294b6497ce667a (patch) | |
| tree | de96bcf9bc1b18318a834c0e3bd0278a50c3dcad /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
| parent | b6e6a4dc6d494191a9665715b0d989876778a46d (diff) | |
| download | llvm-e07aef9dde4cc84af8b696b97c294b6497ce667a.zip llvm-e07aef9dde4cc84af8b696b97c294b6497ce667a.tar.gz llvm-e07aef9dde4cc84af8b696b97c294b6497ce667a.tar.bz2 | |
[clang][Sema] close IsStandardConversion hole when adding cfi_unchecked_callee (#164592)
Commit b194cf1e401a changed this function for the case where attribute
`cfi_unchecked_callee` is added in a function conversion. But this
introduces a hole (issue #162798), and it seems the change was
unnecessary: the preceding `TryFunctionConversion` will already allow
adding the `cfi_unchecked_callee` attribute, and will update `FromType`
if it succeeds. So we revert the changes to `IsStandardConversion`. We
also remove the helper function `AddingCFIUncheckedCallee` which is no
longer needed, and simplify the corresponding
`DiscardingCFIUncheckedCallee`.
Fixes: #162798
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions
