diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2013-05-19 21:47:13 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2013-05-19 21:47:13 +0000 |
commit | 634123e98de9c87aa1275a5ccc6b69be97d0ca71 (patch) | |
tree | 2cff598215782dbb6d995559c083f2a70ebdbac2 /test/CodeGen/SPARC/64bit.ll | |
parent | 60abcb786e8ff401e7d925d717e725d4a3d925b5 (diff) | |
download | external_llvm-634123e98de9c87aa1275a5ccc6b69be97d0ca71.zip external_llvm-634123e98de9c87aa1275a5ccc6b69be97d0ca71.tar.gz external_llvm-634123e98de9c87aa1275a5ccc6b69be97d0ca71.tar.bz2 |
Don't use %g0 to materialize 0 directly.
The wired physreg doesn't work on tied operands like on MOVXCC.
Add a README note to fix this later.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182225 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/SPARC/64bit.ll')
-rw-r--r-- | test/CodeGen/SPARC/64bit.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/SPARC/64bit.ll b/test/CodeGen/SPARC/64bit.ll index 37dcea9..dd6cee3 100644 --- a/test/CodeGen/SPARC/64bit.ll +++ b/test/CodeGen/SPARC/64bit.ll @@ -26,7 +26,7 @@ define i64 @sra_reg(i64 %a, i64 %b) { ; restore %g0, %g0, %o0 ; ; CHECK: ret_imm0 -; CHECK: or %g0, %g0, %i0 +; CHECK: or %g0, 0, %i0 define i64 @ret_imm0() { ret i64 0 } |