commit | 043870dd85ea41e8972c304b122070a417c8a4bc | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Sep 09 18:17:41 2005 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Sep 09 18:17:41 2005 +0000 |
tree | 3fd01c064cce7304e5c9dcf1243a20f8ebb3ed13 | |
parent | ed628ce7bffeda318c4ef7b245f2f0fdc31596f4 [diff] |
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23292 91177308-0d34-0410-b5e6-96231b3b80d8