1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

AMDGPU: Fix register name format in tests

These were changed to match the asm output name a long time ago,
although I think the old tablegenerated names still work.

llvm-svn: 328651
This commit is contained in:
Matt Arsenault 2018-03-27 18:39:42 +00:00
parent 343aa5ed5d
commit 74d6ab13ed
2 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ define amdgpu_kernel void @test_call_void_func_void() {
}
define void @void_func_void_clobber_s40_s41() #2 {
call void asm sideeffect "", "~{SGPR40_SGPR41}"() #0
call void asm sideeffect "", "~{s[40:41]}"() #0
ret void
}

View File

@ -16,9 +16,9 @@ entry:
; mark 128-bit SGPR registers as used so they are unavailable for the
; scratch resource descriptor
call void asm sideeffect "", "~{SGPR4},~{SGPR8},~{SGPR12},~{SGPR16},~{SGPR20},~{SGPR24},~{SGPR28}" ()
call void asm sideeffect "", "~{SGPR32},~{SGPR36},~{SGPR40},~{SGPR44},~{SGPR48},~{SGPR52},~{SGPR56}" ()
call void asm sideeffect "", "~{SGPR60},~{SGPR64},~{SGPR68}" ()
call void asm sideeffect "", "~{s4},~{s8},~{s12},~{s16},~{s20},~{s24},~{s28}" ()
call void asm sideeffect "", "~{s32},~{s36},~{s40},~{s44},~{s48},~{s52},~{s56}" ()
call void asm sideeffect "", "~{s60},~{s64},~{s68}" ()
ret void
}