mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Allow lr in the register options here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133935 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0d06bb9548
commit
34720e193f
@ -46,9 +46,9 @@ ret void
|
||||
define void @f3() nounwind {
|
||||
entry:
|
||||
; CHECK: f3
|
||||
; CHECK: stm r{{[0-9]+}}, {[[REG1:(r[0-9]+)]], r{{[0-9]+}}}
|
||||
; CHECK: adds lr, [[REG1]]
|
||||
; CHECK: ldm r{{[0-9]+}}, {r{{[0-9]+}}, r{{[0-9]+}}}
|
||||
; CHECK: stm {{lr|r[0-9]+}}, {[[REG1:(r[0-9]+)]], r{{[0-9]+}}}
|
||||
; CHECK: adds {{lr|r[0-9]+}}, [[REG1]]
|
||||
; CHECK: ldm {{lr|r[0-9]+}}, {r{{[0-9]+}}, r{{[0-9]+}}}
|
||||
%tmp = load i64* @f3_var, align 4
|
||||
%tmp1 = load i64* @f3_var2, align 4
|
||||
%0 = call i64 asm sideeffect "stm ${0:m}, ${1:M}\0A\09adds $3, $1\0A\09", "=*m,=r,1,r"(i64** @f3_ptr, i64 %tmp, i64 %tmp1) nounwind
|
||||
|
Loading…
x
Reference in New Issue
Block a user