[llvm-commits] [PATCH] Peephole Infrastructure improvements and (ARM, T, T2) TSTrr optimizations

Gabor Greif ggreif at gmail.com
Thu Oct 21 09:55:54 PDT 2010


Hi all,

the last weeks I've been working on a flexible infrastructure for
peephole optimizations, which is potentially target independent and
extensible without needing interface changes.

The result of my work is attached. It moves all current ARM peepholes
over to the new architecture and adds TSTrr-related optimizations too.

The ordering and forward referencing of functions is still suboptimal,
but this is only done to keep the patch size manageable. I plan to
reorder in a cleanup commit after this patch has landed. Also some
currently freestanding functions will become methods.

You can also see the code in its entirety here:
<http://llvm.org/viewvc/llvm-project/llvm/branches/ggreif/peephole-infrastructure/>

Feedback is welcome.

Cheers,

    Gabor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: peephole.patch
Type: application/octet-stream
Size: 18382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101021/8f54b166/attachment.obj>


More information about the llvm-commits mailing list