[PATCH] LoopStrengthReduce: Try to pass address space to isLegalAddressingMode
Matt Arsenault
Matthew.Arsenault at amd.com
Fri Jun 5 17:09:09 PDT 2015
This seems to only work some of the time. In some situations,
this seems to use a nonsensical type and isn't actually aware of the
memory being accessed. e.g. if branch condition is an icmp of a pointer,
it checks the addressing mode of i1.
http://reviews.llvm.org/D10289
Files:
lib/Transforms/Scalar/LoopStrengthReduce.cpp
test/Transforms/LoopStrengthReduce/R600/different-addrspace-addressing-mode-loops.ll
test/Transforms/LoopStrengthReduce/R600/lit.local.cfg
test/Transforms/LoopStrengthReduce/R600/lsr-postinc-pos-addrspace.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10289.27243.patch
Type: text/x-patch
Size: 35322 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150606/64e8568e/attachment.bin>
More information about the llvm-commits
mailing list