[clang] [llvm] [Coroutines] Change `llvm.coro.noop` to accept `llvm_anyptr_ty` instead (PR #102096)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 12 06:23:07 PDT 2024
================
@@ -123,6 +123,17 @@ bool coro::declaresIntrinsics(const Module &M,
return false;
}
+// Verifies if a module has any intrinsics.
+bool coro::declaresIntrinsics(const Module &M,
+ const DenseSet<Intrinsic::ID> &Identifiers) {
+ for (const Function &F : M.functions()) {
+ if (Identifiers.contains(F.getIntrinsicID()))
----------------
arsenm wrote:
right so switch over that set?
https://github.com/llvm/llvm-project/pull/102096
More information about the cfe-commits
mailing list