[llvm-dev] An option switching LSR to choose solution with minimum instructions
Das, Dibyendu via llvm-dev
llvm-dev at lists.llvm.org
Wed Feb 15 21:19:32 PST 2017
We did a quick check with and without the patch for cpu2006 INT bms only. Looks like overall impact is neutral. Most of the ups/downs are in the noise range except probably sjeng.
From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Evgeny Stupachenko via llvm-dev
Sent: Wednesday, February 15, 2017 2:15 AM
To: llvm-dev at lists.llvm.org
Subject: [llvm-dev] An option switching LSR to choose solution with minimum instructions
A new option for LSR "-lsr-insns-cost" was introduced in the patch https://reviews.llvm.org/D28307.
Basically it set instruction count as priority number one for solutions with low register use.
This lead to smaller loops in most cases.
The goal is to enable the option by default for x86.
Could you please check your benchmarks to see if there are gains/loses and report this here?
That I have for now is:
177.mesa on -O2 +3%
256.bzip2 on -Ofast -flto +1.5%
and overall good improvements for x86.
The only regression is on linpack test 3% on HSW, however it differs on other CPUs (say for Atoms it is 3% gain).
LLVM Developers mailing list
llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev