[llvm-commits] [PATCH] PR14753: LICM fix to cleanup preheader loads.

Andrew Trick atrick at apple.com
Fri Jan 4 15:30:37 PST 2013


I think this is a reasonable fix for PR14753: Should recognize memset loop with a global induction variable.

I'm teaching LICM to cleanup its hoisted loads so that the resulting phis look like induction variables. This works around the fact that we only invoke GVN once after all loop opts. We don't call it between loop passes and we have no incremental GVN.

-Andy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-LICM-fix-to-cleanup-preheader-loads.patch
Type: application/octet-stream
Size: 9408 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130104/57541a9c/attachment.obj>


More information about the llvm-commits mailing list