[PATCH] D28307: Add Instruction number to LSR cost model (PR23384) part 1 of 3

Evgeny Stupachenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 4 11:46:49 PST 2017


evstupac created this revision.
evstupac added a reviewer: qcolombet.
evstupac added subscribers: llvm-commits, wmi.
evstupac set the repository for this revision to rL LLVM.
Herald added subscribers: mehdi_amini, mzolotukhin.

Fix PR23384.
The patch adds instructions number generated by a solution to LSR cost under "-lsr-insns-cost" option.
Performance improvement on x86:
spec2000

177.mesa on -O2 +3%
256.bzip2 on -Ofast -flto +1.5%


Repository:
  rL LLVM

https://reviews.llvm.org/D28307

Files:
  lib/Transforms/Scalar/LoopStrengthReduce.cpp
  test/Transforms/LoopStrengthReduce/X86/lsr-insns-1.ll
  test/Transforms/LoopStrengthReduce/X86/lsr-insns-2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28307.83095.patch
Type: text/x-patch
Size: 11421 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170104/0f508e10/attachment.bin>


More information about the llvm-commits mailing list