[PATCH] [SLSR] handle candidate form (B + i * S)

Jingyue Wu jingyue at google.com
Fri Apr 10 14:46:39 PDT 2015


Do not SLSR if (B + i * S) can be folded to an addressing mode.


http://reviews.llvm.org/D8983

Files:
  lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
  test/Transforms/StraightLineStrengthReduce/X86/no-slsr.ll
  test/Transforms/StraightLineStrengthReduce/slsr-add.ll
  test/Transforms/StraightLineStrengthReduce/slsr-mul.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8983.23626.patch
Type: text/x-patch
Size: 10910 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150410/c6f09141/attachment.bin>


More information about the llvm-commits mailing list