[llvm-commits] [PATCH] Peephole optimization to remove redundant cmp instruction for X86

Manman Ren mren at apple.com
Wed May 30 11:30:45 PDT 2012


Hi All,

This patch optimizes away the redundant cmp instruction if there exists a sub instruction which produces the same EFLAGS.

Please review and provide feedback.

Thanks,
Manman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: peephole_x86.patch
Type: application/octet-stream
Size: 14891 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120530/a49beca0/attachment.obj>


More information about the llvm-commits mailing list