================
@@ -3395,17 +3395,19 @@ static bool hasExistingGeneralizedTypeMD(llvm::Function
*F) {
void CodeGenModule::createIndirectFunctionTypeMD(const FunctionDecl *FD,
llvm::Function *F) {
- // Return if generalized type metadata is already attached.
- if (hasExistingGeneralizedTypeMD(F))
- return;
-
----------------
pcc wrote:
But there should no longer be a need to do the check now that we're back to
only one possible code path that can add a generalized `!type`, no?
https://github.com/llvm/llvm-project/pull/204266
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits