[PATCH] D78659: Add nomerge function attribute to supress tail merge optimization in simplifyCFG
Zequan Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 22 19:34:50 PDT 2020
zequanwu added a comment.
In D78659#1997528 <https://reviews.llvm.org/D78659#1997528>, @lebedev.ri wrote:
> 1. Tests missing
> 2. Why isn't `noinline` sufficient, why a whole new attribue?
1. Test added.
2. We want to avoid merging multiple call sites of same function, but `noinline` cannot achieve this. For example, we don't want to merge calls in `i == 5` and `i == 7` cases in the test case.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78659/new/
https://reviews.llvm.org/D78659
More information about the llvm-commits
mailing list