Displaying 2 results from an estimated 2 matches for "06a02ce1".
2012 Oct 19
0
[LLVMdev] Redundant Add Operation in Code Generation?
On Oct 19, 2012, at 2:44 PM, Ryan Taylor <ryta1203 at gmail.com> wrote:
> Ok, thanks. 
> 
> Even still though I would expect -instcombine (run after lsr) would do this cleanup?
It's valid to run any IR pass after -loop-reduce. So you can try it. -gvn is probably what you're looking for. It isn't something we normally want to do.
Turn off LSR if it does bad things on
2012 Oct 19
2
[LLVMdev] Redundant Add Operation in Code Generation?
Ok, thanks.
Even still though I would expect -instcombine (run after lsr) would do this
cleanup?
On Fri, Oct 19, 2012 at 2:41 PM, Andrew Trick <atrick at apple.com> wrote:
>
> On Oct 19, 2012, at 2:34 PM, Ryan Taylor <ryta1203 at gmail.com> wrote:
>
> That solves the issue but it seems odd to me that instcombine doesn't take
> care of it?
>
>
> LSR is