[PATCH] [LSR] Generate and use zero extends

Sanjoy Das sanjoy at playingwithpointers.com
Mon Apr 27 08:44:32 PDT 2015


ping!

On Tue, Apr 21, 2015 at 6:44 PM, Sanjoy Das
<sanjoy at playingwithpointers.com> wrote:
> 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/



More information about the llvm-commits mailing list