[PATCH] D22998: [coroutines] Part 4a: Coroutine Devirtualization: Lower coro.resume and coro.destroy.

Gor Nishanov via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 3 14:03:33 PDT 2016


GorNishanov added inline comments.

================
Comment at: lib/Transforms/Coroutines/CoroInstr.h:33
@@ +32,3 @@
+#define CORO_RESUME_STR "llvm.coro.resume"
+
+/// This class represents the llvm.coro.subfn.addr instruction.
----------------
It is internal header used by Coroutine library. These constants are used (or will be used) by several coroutine passes in this directory.

When we drop MSVC 2013, these #define could be replaced with constexpr StringRef or something like that.


https://reviews.llvm.org/D22998





More information about the llvm-commits mailing list