[LLVMdev] Why are imm shifts where imm >= width type eliminated entirely?

Matthias Braun matze at braunis.de
Mon Apr 20 21:21:01 PDT 2015


There can also be other “problems" like this one: http://reviews.llvm.org/D6946 <http://reviews.llvm.org/D6946>

- Matthias

> On Apr 20, 2015, at 1:44 PM, Tim Northover <t.p.northover at gmail.com> wrote:
> 
>> The DAG combiner also performs the undefined shift -> undef though, so it
>> should still be OK
> 
> DAG combiner doesn't really run to convergence as far as I'm aware, so
> you often get extremely difficult to test but necessary checks like
> this.
> 
> Tim.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150420/483bba97/attachment.html>


More information about the llvm-dev mailing list