[PATCH] D38085: Use the basic cost if a GEP is not used as addressing mode
Evgeny Astigeevich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 14 12:43:04 PDT 2017
eastig added a comment.
The patch has caused a few regressions on Arm too. They are within 5%. We investigated some of them. For example, the unrolling is not applied. However the unrolling could figure out that some non-free GEPs are removed during optimisation. Maybe other passes have the similar problem. We currently need more precise cost model for inlining at Oz. However we started looking at the recently introduced TTI code size cost if we can use it.
At which optimisation level is the inlining affected? Could we fix the issues by updating the heuristics?
https://reviews.llvm.org/D38085
More information about the llvm-commits
mailing list