[all-commits] [llvm/llvm-project] ce6ca0: [CoroSplit] Avoid self-replacement
Nikita Popov via All-commits
all-commits at lists.llvm.org
Mon Mar 14 05:53:45 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ce6ca00a92007a9104c040a402c4bd2b8e1dfcd7
https://github.com/llvm/llvm-project/commit/ce6ca00a92007a9104c040a402c4bd2b8e1dfcd7
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-03-14 (Mon, 14 Mar 2022)
Changed paths:
M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
M llvm/test/Transforms/Coroutines/coro-split-recursive.ll
Log Message:
-----------
[CoroSplit] Avoid self-replacement
With opaque pointers, the bitcast might be a no-op, and this can
end up trying to replace a value with itself, which is illegal.
More information about the All-commits
mailing list