Skip to content
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
Loading
Loading
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