[PATCH] Fix an assert in legalization caused by 81f64c04

Matt Arsenault arsenm2 at gmail.com
Fri May 29 10:42:27 PDT 2015

> On May 29, 2015, at 10:25 AM, Fiona <escha at apple.com> wrote:
>  On an out of tree target, the shift type is i64 (because that's the pointer type, and pre-legalization, shifts are created with shift type == pointer type). 

Shifts should be using TLI::getShiftAmountTy() during SelectionDAGBuilder, so not ever the pointer type. Are you not overriding that?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150529/b3136128/attachment.html>

More information about the llvm-commits mailing list