[PATCH] D76140: [InlineFunction] update attributes during inlining
Johannes Doerfert via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 19 15:22:33 PDT 2020
jdoerfert added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/InlineFunction.cpp:1172
+ return true;
+ return false;
+ };
----------------
`mayThrow` is not sufficient. As with my earlier example, a potential `exit` is sufficient to break this, thus you need `willreturn` as well.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76140/new/
https://reviews.llvm.org/D76140
More information about the cfe-commits
mailing list