commit | 0e13ba820808273d6515f4894be4cb0c05f509f6 | [log] [tgz] |
---|---|---|
author | James Y Knight <jyknight@google.com> | Wed Apr 29 14:54:44 2015 +0000 |
committer | James Y Knight <jyknight@google.com> | Wed Apr 29 14:54:44 2015 +0000 |
tree | 99051e800bda656e7f107d9dbc1a2b5f95198c93 | |
parent | 4389f0be7350303a366bf936e195d2e6a76d2e2a [diff] |
Sparc: Prefer reg+reg address encoding when only one register used. Reg+%g0 is preferred to Reg+imm0 by the manual, and is what GCC produces. Futhermore, reg+imm is invalid for the (not yet supported) "alternate address space" instructions. Differential Revision: http://reviews.llvm.org/D8753 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236107 91177308-0d34-0410-b5e6-96231b3b80d8