[PATCH] [LSR] Generate and use zero extends
Sanjoy Das
sanjoy at playingwithpointers.com
Tue Apr 21 18:44:23 PDT 2015
Hi atrick,
If a scale or a base register can be rewritten as "Zext({A,+,1})" then
LSR will now consider a formula of that form in its normal cost
computation.
Depends on D9180
http://reviews.llvm.org/D9181
Files:
lib/Transforms/Scalar/LoopStrengthReduce.cpp
test/Transforms/LoopStrengthReduce/zext-of-scale.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9181.24191.patch
Type: text/x-patch
Size: 11094 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150422/7192193c/attachment.bin>
More information about the llvm-commits
mailing list