[llvm] [NFC][Coroutines] Remove invalid coroutine intrinsic name (PR #114543)

via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 1 07:44:21 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-transforms

@llvm/pr-subscribers-coroutines

Author: Petr Vesely (veselypeta)

<details>
<summary>Changes</summary>

Removes `llvm.coro.async.store_resume` from the list of coroutine intrinsics. This is not a valid intrinsic name, and was likely added by mistake with [this](https://reviews.llvm.org/D90612) change. Makes sense to remove it.

---
Full diff: https://github.com/llvm/llvm-project/pull/114543.diff


1 Files Affected:

- (modified) llvm/lib/Transforms/Coroutines/Coroutines.cpp (-1) 


``````````diff
diff --git a/llvm/lib/Transforms/Coroutines/Coroutines.cpp b/llvm/lib/Transforms/Coroutines/Coroutines.cpp
index 45b9767657c66a..4746bd14baa481 100644
--- a/llvm/lib/Transforms/Coroutines/Coroutines.cpp
+++ b/llvm/lib/Transforms/Coroutines/Coroutines.cpp
@@ -69,7 +69,6 @@ static const char *const CoroIntrinsics[] = {
     "llvm.coro.async.context.dealloc",
     "llvm.coro.async.resume",
     "llvm.coro.async.size.replace",
-    "llvm.coro.async.store_resume",
     "llvm.coro.await.suspend.bool",
     "llvm.coro.await.suspend.handle",
     "llvm.coro.await.suspend.void",

``````````

</details>


https://github.com/llvm/llvm-project/pull/114543


More information about the llvm-commits mailing list