[PATCH] D103138: [AMDGPU] [IndirectCalls] Don't propagate attributes to address taken functions and their callees
Madhur Amilkanthwar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 28 08:29:57 PDT 2021
madhur13490 added a comment.
In D103138#2787055 <https://reviews.llvm.org/D103138#2787055>, @foad wrote:
> 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.
Ok,, B seems common in code base too.
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