[patch] Add more loop simplification passes to LTO

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Apr 9 10:10:20 PDT 2014


Some coworkers were trying LTO and noticed that not as many loops
where being optimized when a function was inlined in LTO instead of
during at regular build when the function was made inline.

In the end, the problem was really simple, we are not running indvars
or -loop-deletion in lto. This patch then seems fairly analogous to
r202051.

I haven't run the test-suite to benchmark this (I don't have in my
macbook air), but do you guys think this patch is reasonable? If so I
can benchmark and commit it when I get home (April 20th) if no one
beats me to it .

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 686 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140409/32061d96/attachment.obj>


More information about the llvm-commits mailing list