From 9c47dd583a94f457411df5403eff4228cc3690cd Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 11 Feb 2016 06:02:01 +0000 Subject: AMDGPU: Remove some old intrinsic uses from tests llvm-svn: 260493 --- llvm/test/CodeGen/AMDGPU/drop-mem-operand-move-smrd.ll | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'llvm/test/CodeGen/AMDGPU/drop-mem-operand-move-smrd.ll') 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 } -- cgit v1.2.3