summaryrefslogtreecommitdiff
path: root/test/CodeGen/R600/llvm.SI.imageload.ll
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-09-30 18:17:55 +0000
committerManman Ren <manman.ren@gmail.com>2013-09-30 18:17:55 +0000
commite267f04ef577781f8551a1514f5a781d6a860a2c (patch)
treeb9716616e86ed6c3303e50e7fab07ac406402813 /test/CodeGen/R600/llvm.SI.imageload.ll
parentaef1b378242dee5f17e440344258460e1dedbb4b (diff)
downloadllvm-e267f04ef577781f8551a1514f5a781d6a860a2c.tar.gz
llvm-e267f04ef577781f8551a1514f5a781d6a860a2c.tar.bz2
llvm-e267f04ef577781f8551a1514f5a781d6a860a2c.tar.xz
TBAA: update tbaa format from scalar format to struct-path aware format.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191690 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/R600/llvm.SI.imageload.ll')
-rw-r--r--test/CodeGen/R600/llvm.SI.imageload.ll14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/CodeGen/R600/llvm.SI.imageload.ll b/test/CodeGen/R600/llvm.SI.imageload.ll
index dc3a3ac412..5cf9e0af44 100644
--- a/test/CodeGen/R600/llvm.SI.imageload.ll
+++ b/test/CodeGen/R600/llvm.SI.imageload.ll
@@ -88,15 +88,15 @@ define void @test(i32 %a1, i32 %a2, i32 %a3, i32 %a4) {
define void @vgpr_coords(float addrspace(2)* addrspace(2)* inreg, <16 x i8> addrspace(2)* inreg, <32 x i8> addrspace(2)* inreg, i32 inreg, <2 x i32>, <2 x i32>, <2 x i32>, <3 x i32>, <2 x i32>, <2 x i32>, <2 x i32>, float, float, float, float, float, float, float, float, float) #0 {
main_body:
%20 = getelementptr float addrspace(2)* addrspace(2)* %0, i32 0
- %21 = load float addrspace(2)* addrspace(2)* %20, !tbaa !0
+ %21 = load float addrspace(2)* addrspace(2)* %20, !tbaa !2
%22 = getelementptr float addrspace(2)* %21, i32 0
- %23 = load float addrspace(2)* %22, !tbaa !0, !invariant.load !1
+ %23 = load float addrspace(2)* %22, !tbaa !2, !invariant.load !1
%24 = getelementptr float addrspace(2)* %21, i32 1
- %25 = load float addrspace(2)* %24, !tbaa !0, !invariant.load !1
+ %25 = load float addrspace(2)* %24, !tbaa !2, !invariant.load !1
%26 = getelementptr float addrspace(2)* %21, i32 4
- %27 = load float addrspace(2)* %26, !tbaa !0, !invariant.load !1
+ %27 = load float addrspace(2)* %26, !tbaa !2, !invariant.load !1
%28 = getelementptr <32 x i8> addrspace(2)* %2, i32 0
- %29 = load <32 x i8> addrspace(2)* %28, !tbaa !0
+ %29 = load <32 x i8> addrspace(2)* %28, !tbaa !2
%30 = bitcast float %27 to i32
%31 = bitcast float %23 to i32
%32 = bitcast float %25 to i32
@@ -126,6 +126,6 @@ declare void @llvm.SI.export(i32, i32, i32, i32, i32, float, float, float, float
attributes #0 = { "ShaderType"="0" }
attributes #1 = { nounwind readnone }
-!0 = metadata !{metadata !"const", null, i32 1}
+!0 = metadata !{metadata !"const", null}
!1 = metadata !{}
-
+!2 = metadata !{metadata !0, metadata !0, i64 0, i32 1}