[PATCH] SLSR: Pass address space to isLegalAddressingMode
Matt Arsenault
Matthew.Arsenault at amd.com
Tue Jun 9 11:18:05 PDT 2015
Hi jingyue,
This only updates one of the uses. The other is used in cases
that may never touch memory, so I'm not sure why this is even
calling it. Perhaps there should be a new, similar hook for such
cases or pass -1 for unknown address space.
http://reviews.llvm.org/D10341
Files:
lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
test/Transforms/StraightLineStrengthReduce/R600/lit.local.cfg
test/Transforms/StraightLineStrengthReduce/R600/reassociate-geps-and-slsr-addrspace.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10341.27384.patch
Type: text/x-patch
Size: 6416 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150609/3cee57ef/attachment.bin>
More information about the llvm-commits
mailing list