Skip to content
Snippets Groups Projects
Commit c37a2f13 authored by Chris Lattner's avatar Chris Lattner
Browse files

Teach the code generator that rlwimi is commutable if the rotate amount

is zero.  This lets the register allocator elide some copies in some cases.

This implements CodeGen/PowerPC/rlwimi-commute.ll

llvm-svn: 23292
parent 48356a50
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment