[PATCH] Teach LoopIdiom about address spaces

Matt Arsenault Matthew.Arsenault at amd.com
Mon Aug 26 17:39:45 PDT 2013


  Don't use memset_pattern with nonzero address spaces.

  Which tests don't look useful? The second test in lftr-address-space-pointers.ll might be redundant

http://llvm-reviews.chandlerc.com/D1462

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D1462?vs=3636&id=3780#toc

Files:
  lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  test/Transforms/IndVarSimplify/lftr-address-space-pointers.ll
  test/Transforms/LoopIdiom/basic-address-space.ll
  test/Transforms/LoopStrengthReduce/addrec-gep-address-space.ll
  test/Transforms/LoopStrengthReduce/address-space-loop.ll
  test/Transforms/LoopStrengthReduce/uglygep-address-space.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1462.2.patch
Type: text/x-patch
Size: 19304 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130826/1e994bdb/attachment.bin>


More information about the llvm-commits mailing list