[PATCH] [SLSR] handle candidate form &B[i * S]

Jingyue Wu jingyue at google.com
Mon Mar 9 15:48:17 PDT 2015


Take 2 towards handling GEPs in SLSR

- replace BaseExpr with SCEV
- discover more patterns of GEP that can be SLSR'ed


http://reviews.llvm.org/D7459

Files:
  lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
  test/Transforms/StraightLineStrengthReduce/X86/lit.local.cfg
  test/Transforms/StraightLineStrengthReduce/X86/no-slsr.ll
  test/Transforms/StraightLineStrengthReduce/slsr-gep.ll
  test/Transforms/StraightLineStrengthReduce/slsr-mul.ll
  test/Transforms/StraightLineStrengthReduce/slsr.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7459.21524.patch
Type: text/x-patch
Size: 24758 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150309/0c5dc8ef/attachment.bin>


More information about the llvm-commits mailing list