[llvm] r209219 - [PowerPC] PR19796: Also match ISD::TargetConstant in isIntS16Immediate

İsmail Dönmez ismail at donmez.ws
Tue May 20 12:52:09 PDT 2014


On Tue, May 20, 2014 at 8:20 PM, Adam Nemet <anemet at apple.com> wrote:

> Author: anemet
> Date: Tue May 20 12:20:34 2014
> New Revision: 209219
>
> URL: http://llvm.org/viewvc/llvm-project?rev=209219&view=rev
> Log:
> [PowerPC] PR19796: Also match ISD::TargetConstant in isIntS16Immediate
>
> The SplitIndexingFromLoad changes exposed a latent isel bug in the
> PowerPC64
> backend.  We matched an immediate offset with STWX8 even though it only
> supports register offset.
>
> The culprit is the complex-pattern predicate, SelectAddrIdx, which decides
> that if the offset is not ISD::Constant it must be a register.
>
> Many thanks to Bill Schmidt for testing this.
>
>
Thanks for fixing this!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140520/80ca16b5/attachment.html>


More information about the llvm-commits mailing list