diff options
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2018-03-27 18:39:42 +0000 |
|---|---|---|
| committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2018-03-27 18:39:42 +0000 |
| commit | 126a874952d76a19bfc4bbd1b0a69cac65c8b35c (patch) | |
| tree | fbb0cb74c6ad629867f2b8581cb37b0ae7f55aba /llvm | |
| parent | e9f36790310a7b5a05dc134ece554fd75e2d98a9 (diff) | |
| download | bcm5719-llvm-126a874952d76a19bfc4bbd1b0a69cac65c8b35c.tar.gz bcm5719-llvm-126a874952d76a19bfc4bbd1b0a69cac65c8b35c.zip | |
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
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/test/CodeGen/AMDGPU/basic-call-return.ll | 2 | ||||
| -rw-r--r-- | llvm/test/CodeGen/AMDGPU/spill-alloc-sgpr-init-bug.ll | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/basic-call-return.ll b/llvm/test/CodeGen/AMDGPU/basic-call-return.ll index 1f2f92fbe56..e47e4c1f9ca 100644 --- a/llvm/test/CodeGen/AMDGPU/basic-call-return.ll +++ b/llvm/test/CodeGen/AMDGPU/basic-call-return.ll @@ -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 } diff --git a/llvm/test/CodeGen/AMDGPU/spill-alloc-sgpr-init-bug.ll b/llvm/test/CodeGen/AMDGPU/spill-alloc-sgpr-init-bug.ll index 63ea21b0533..ce9232f656a 100644 --- a/llvm/test/CodeGen/AMDGPU/spill-alloc-sgpr-init-bug.ll +++ b/llvm/test/CodeGen/AMDGPU/spill-alloc-sgpr-init-bug.ll @@ -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 } |

