[PATCH] D103138: [AMDGPU] [IndirectCalls] Don't propagate attributes to address taken functions and their callees
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 28 08:01:20 PDT 2021
foad added a comment.
You cannot recover after an "unreachable" or a failed assertion.
> C [...] returns gracefully returns in release builds.
No it doesn't. In a release build llvm_unreachable will usually expand to `__builtin_unreachable()` or `__assume(false)` and the optimising compiler will remove any code after that point because it is allowed to assume that it is not reachable.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103138/new/
https://reviews.llvm.org/D103138
More information about the llvm-commits
mailing list