[PATCH] D54742: [CodeMetrics] Don't let extends of i1 be free.

Evgeny Astigeevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 21 09:58:27 PST 2018


eastig added a comment.

Hi Jonas,

I ran some benchmarks on ARM64, Cortex-A57.  I see no regressions.

BTW, there is a way to test getUserCost via Inliner. See test/Transforms/Inline/AArch64/gep-cost.ll. Cost-free instructions increase NumInstructionsSimplified.

Thanks,
Evgeny Astigeevich


https://reviews.llvm.org/D54742





More information about the llvm-commits mailing list