[Coroutine] Remove the '!func_sanitize' metadata for split functions
authorYuanfang Chen <yuanfang.chen@sony.com>
Mon, 27 Jun 2022 18:36:32 +0000 (11:36 -0700)
committerYuanfang Chen <yuanfang.chen@sony.com>
Mon, 27 Jun 2022 19:09:13 +0000 (12:09 -0700)
commite2e9e708e5c2c3d5357b4bb355285ef55cd060d9
treed5c6c0b6d8e1a60d9e72d04cf26f9e83968a7693
parent6678f8e505b19069a9dbdc3e3ee088d543752412
[Coroutine] Remove the '!func_sanitize' metadata for split functions

There is no proper RTTI for these split functions. So just delete the
metadata.

Fixes https://github.com/llvm/llvm-project/issues/49689.

Reviewed By: rjmccall

Differential Revision: https://reviews.llvm.org/D116130
llvm/lib/Transforms/Coroutines/CoroSplit.cpp
llvm/test/Transforms/Coroutines/coro-split-00.ll