Regression with r200947: [CodeGenPrepare] Move away sign extensions that get in the way of addressing mode.
Quentin Colombet
qcolombet at apple.com
Wed Feb 12 12:58:44 PST 2014
Sure, I’m looking into it.
-Quentin
On Feb 12, 2014, at 12:03 PM, Tom Stellard <tom at stellard.net> wrote:
> Hi Quentin,
>
> I've discovered a regression with this commit, please see the attached test case.
> In this case, CodeGenPrepare is promoting the mul in a sext + mul pattern even
> though the addressing mode it is creating isn't legal.
>
> One interesting thing about this test case is that if you remove the
> nsw from the mul instruction, then the incorrect transform does not
> take place. I'm not sure why this matters. Would you mind taking a look?
>
> Thanks,
> Tom
> <codegen-prepare-addrmode-sext.ll>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140212/4808587b/attachment.html>
More information about the llvm-commits
mailing list