summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/llvm.SI.sendmsg-m0.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/llvm.SI.sendmsg-m0.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/llvm.SI.sendmsg-m0.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/llvm.SI.sendmsg-m0.ll b/llvm/test/CodeGen/AMDGPU/llvm.SI.sendmsg-m0.ll
index 2198590f2df..e0a79482ddc 100644
--- a/llvm/test/CodeGen/AMDGPU/llvm.SI.sendmsg-m0.ll
+++ b/llvm/test/CodeGen/AMDGPU/llvm.SI.sendmsg-m0.ll
@@ -7,7 +7,7 @@
; BOTH-NEXT: s_sendmsg Gs_done(nop)
; BOTH-NEXT: s_endpgm
-define void @main(i32 inreg %a) #0 {
+define amdgpu_gs void @main(i32 inreg %a) #0 {
main_body:
call void @llvm.SI.sendmsg(i32 3, i32 %a)
ret void
@@ -16,5 +16,5 @@ main_body:
; Function Attrs: nounwind
declare void @llvm.SI.sendmsg(i32, i32) #1
-attributes #0 = { "ShaderType"="2" "unsafe-fp-math"="true" }
+attributes #0 = { "unsafe-fp-math"="true" }
attributes #1 = { nounwind }
OpenPOWER on IntegriCloud