llvm-project
ff63d628 - [CodeExtractor] Terminate callsite blocks to new `noreturn` functions with `unreachable`

Commit
1 year ago
[CodeExtractor] Terminate callsite blocks to new `noreturn` functions with `unreachable` Since some of the users of `CodeExtractor` like `HotColdSplitting` run late in the pipeline, returns are not cleaned to `unreachable`. So, just emit `unreachable` directly if the function is `noreturn`. Closes #84682
Author
Committer
Parents
Loading