[LLVMdev] Incorrect loop optimization when building the Linux kernel

Joerg Sonnenberger joerg at britannica.bec.de
Mon Dec 8 12:22:47 PST 2014


On Mon, Dec 08, 2014 at 11:46:45AM -0800, David Majnemer wrote:
> I'm pretty sure this is fixed in r223684.  This particular use of
> zero-sized arrays should defeat any chance of compile-time address equality.

I object that change. It's a horrible special case hack for either a
fundamental issue in the IR or plain UB on the source level. As such, it
should be reverted.

Joerg



More information about the llvm-dev mailing list