[LLVMdev] load widening no more?

Eli Friedman eli.friedman at gmail.com
Mon Nov 26 19:14:57 PST 2012

On Thu, Nov 22, 2012 at 8:44 PM, Kostya Serebryany <kcc at google.com> wrote:
> Hi,
> Here is a simple test on which (I swear!) clang used to perform load
> widening.
> Not any more. What's happened?

clang isn't setting the alignment on the load of "s->x" aggressively
enough for the LLVM optimizers to kick in.

Granted, even if you do fix that, we still generate completely
ridiculous code, but that's a separate issue.


More information about the llvm-dev mailing list