[LLVMdev] Shifts that use only 5 LSBs.

Eli Friedman eli.friedman at gmail.com
Thu Dec 18 14:19:41 PST 2008


On Thu, Dec 18, 2008 at 1:40 PM, Daniel M Gessel <gessel at apple.com> wrote:
> I can't find the bug you refer to.

Did the link not work?  I'll try pasting it in again.  In any case, I
checked in a fix disabling the broken optimization; try updating to
current SVN.

http://llvm.org/bugs/show_bug.cgi?id=3225

> Also, it doesn't have this problem in x86: it uses the shldl
> instruction.

Well, sort of... it turned out that it wasn't that hard to construct a
case that broke on x86.

-Eli



More information about the llvm-dev mailing list