[llvm-commits] [patch] Don't use alignment of global if global is weak in instcombine

Eli Friedman eli.friedman at gmail.com
Mon Nov 26 15:06:25 PST 2012


On Mon, Sep 17, 2012 at 9:45 AM, Richard Osborne <richard at xmos.com> wrote:
> I noticed that getPointeeAlignment() in instcombine was incorrectly using
> the alignment of a global even when the global is weak for the linker. The
> attached patch fixes this. OK to commit?

I committed an alternate fix in r168629.

-Eli



More information about the llvm-commits mailing list