[Patch] PHI->GEP->PHI combine, take 2

Louis Gerbarg lgg at apple.com
Tue May 27 15:07:27 PDT 2014


Okay, here is a substantially improved version of the PHI->GEP->PHI InstCombine patch from a week ago. It now checks for GEPs into structs to avoid illegal combines, which I believe was the last cause of the sanitzer and stage2 failures. I would appreciate it if someone who is on a platform that supports sanitizers could it a whirl. It works for me with all the reductions I have as well as a stage2 build on Darwin.

Louis

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-support-for-combining-GEPs-across-PHI-nodes.patch
Type: application/octet-stream
Size: 7409 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140527/df4e9898/attachment.obj>


More information about the llvm-commits mailing list