summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/flat-scratch-reg.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/flat-scratch-reg.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/flat-scratch-reg.ll14
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/flat-scratch-reg.ll b/llvm/test/CodeGen/AMDGPU/flat-scratch-reg.ll
index 5705cbc9944..a7664c399fb 100644
--- a/llvm/test/CodeGen/AMDGPU/flat-scratch-reg.ll
+++ b/llvm/test/CodeGen/AMDGPU/flat-scratch-reg.ll
@@ -21,7 +21,7 @@
; VI-XNACK: ; NumSgprs: 12
define amdgpu_kernel void @no_vcc_no_flat() {
entry:
- call void asm sideeffect "", "~{SGPR7}"()
+ call void asm sideeffect "", "~{s7}"()
ret void
}
@@ -35,7 +35,7 @@ entry:
; VI-XNACK: ; NumSgprs: 12
define amdgpu_kernel void @vcc_no_flat() {
entry:
- call void asm sideeffect "", "~{SGPR7},~{VCC}"()
+ call void asm sideeffect "", "~{s7},~{vcc}"()
ret void
}
@@ -52,7 +52,7 @@ entry:
; HSA-VI-XNACK: ; NumSgprs: 14
define amdgpu_kernel void @no_vcc_flat() {
entry:
- call void asm sideeffect "", "~{SGPR7},~{FLAT_SCR}"()
+ call void asm sideeffect "", "~{s7},~{flat_scratch}"()
ret void
}
@@ -68,7 +68,7 @@ entry:
; HSA-VI-XNACK: ; NumSgprs: 14
define amdgpu_kernel void @vcc_flat() {
entry:
- call void asm sideeffect "", "~{SGPR7},~{VCC},~{FLAT_SCR}"()
+ call void asm sideeffect "", "~{s7},~{vcc},~{flat_scratch}"()
ret void
}
@@ -81,7 +81,7 @@ entry:
; VI-XNACK: NumSgprs: 6
define amdgpu_kernel void @use_flat_scr() #0 {
entry:
- call void asm sideeffect "; clobber ", "~{FLAT_SCR}"()
+ call void asm sideeffect "; clobber ", "~{flat_scratch}"()
ret void
}
@@ -91,7 +91,7 @@ entry:
; VI-XNACK: NumSgprs: 6
define amdgpu_kernel void @use_flat_scr_lo() #0 {
entry:
- call void asm sideeffect "; clobber ", "~{FLAT_SCR_LO}"()
+ call void asm sideeffect "; clobber ", "~{flat_scratch_lo}"()
ret void
}
@@ -101,7 +101,7 @@ entry:
; VI-XNACK: NumSgprs: 6
define amdgpu_kernel void @use_flat_scr_hi() #0 {
entry:
- call void asm sideeffect "; clobber ", "~{FLAT_SCR_HI}"()
+ call void asm sideeffect "; clobber ", "~{flat_scratch_hi}"()
ret void
}
OpenPOWER on IntegriCloud