summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/drop-mem-operand-move-smrd.ll
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2016-02-11 06:02:01 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2016-02-11 06:02:01 +0000
commit9c47dd583a94f457411df5403eff4228cc3690cd (patch)
treebf0d49daf75b9ec932dc33135e9c6c8c193d9f3c /llvm/test/CodeGen/AMDGPU/drop-mem-operand-move-smrd.ll
parent4244be25bd7c438ac755813ff33e6e80ca6b6f34 (diff)
downloadbcm5719-llvm-9c47dd583a94f457411df5403eff4228cc3690cd.tar.gz
bcm5719-llvm-9c47dd583a94f457411df5403eff4228cc3690cd.zip
AMDGPU: Remove some old intrinsic uses from tests
llvm-svn: 260493
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/drop-mem-operand-move-smrd.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/drop-mem-operand-move-smrd.ll7
1 files changed, 2 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/drop-mem-operand-move-smrd.ll b/llvm/test/CodeGen/AMDGPU/drop-mem-operand-move-smrd.ll
index 171883e4c74..8ae81f93cd0 100644
--- a/llvm/test/CodeGen/AMDGPU/drop-mem-operand-move-smrd.ll
+++ b/llvm/test/CodeGen/AMDGPU/drop-mem-operand-move-smrd.ll
@@ -12,7 +12,7 @@
; GCN: s_endpgm
define void @reschedule_global_load_lds_store(i32 addrspace(1)* noalias %gptr0, i32 addrspace(1)* noalias %gptr1, i32 addrspace(3)* noalias %lptr, i32 %c) #0 {
entry:
- %tid = tail call i32 @llvm.r600.read.tidig.x() #1
+ %tid = tail call i32 @llvm.amdgcn.workitem.id.x() #1
%idx = shl i32 %tid, 2
%gep0 = getelementptr i32, i32 addrspace(1)* %gptr0, i32 %idx
%gep1 = getelementptr i32, i32 addrspace(1)* %gptr1, i32 %idx
@@ -42,10 +42,7 @@ exit: ; preds = %for.body, %entry
}
; Function Attrs: nounwind readnone
-declare i32 @llvm.r600.read.tidig.x() #1
-
-; Function Attrs: nounwind readnone
-declare i32 @llvm.r600.read.tgid.x() #1
+declare i32 @llvm.amdgcn.workitem.id.x() #1
attributes #0 = { nounwind }
attributes #1 = { nounwind readnone }
OpenPOWER on IntegriCloud