| commit | e2ca9e5b5f8fe4b09cf30a302b6c9debcdc95332 | [log] [tgz] |
|---|---|---|
| author | Jim Grosbach <grosbach@apple.com> | Tue Dec 20 00:59:38 2011 +0000 |
| committer | Jim Grosbach <grosbach@apple.com> | Tue Dec 20 00:59:38 2011 +0000 |
| tree | a0d866c84e467523388c090794f574cf026c1b0e | |
| parent | 9530770bd6abff64e77e911e444850da83eaaadb [diff] |
ARM assembly shifts by zero should be plain 'mov' instructions. "mov r1, r2, lsl #0" should assemble as "mov r1, r2" even though it's not strictly legal UAL syntax. It's a common extension and the friendly thing to do. rdar://10604663 llvm-svn: 146937