[PATCH] D116130: [Coroutine] Remove the '!func_sanitize' metadata for split functions

Yuanfang Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 21 19:34:00 PST 2021


ychen marked an inline comment as done.
ychen added inline comments.


================
Comment at: llvm/lib/Transforms/Coroutines/CoroSplit.cpp:923-925
+  if (Shape.ABI == coro::ABI::Switch &&
+      NewF->hasMetadata(LLVMContext::MD_func_sanitize))
+    NewF->eraseMetadata(llvm::LLVMContext::MD_func_sanitize);
----------------
ChuanqiXu wrote:
> How about adding comments for this? I guess people might be confused.
Yep. Comments added.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116130/new/

https://reviews.llvm.org/D116130



More information about the llvm-commits mailing list