comparison test/CodeGen/R600/llvm.SI.sampled.ll @ 77:54457678186b LLVM3.6

LLVM 3.6
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Mon, 08 Sep 2014 22:06:00 +0900
parents 95c75e76d11b
children 60c9769439b8
comparison
equal deleted inserted replaced
34:e874dbf0ad9d 77:54457678186b
15 ;CHECK-DAG: IMAGE_SAMPLE_C_D {{v\[[0-9]+:[0-9]+\]}}, 11 15 ;CHECK-DAG: IMAGE_SAMPLE_C_D {{v\[[0-9]+:[0-9]+\]}}, 11
16 ;CHECK-DAG: IMAGE_SAMPLE_C_D {{v\[[0-9]+:[0-9]+\]}}, 13 16 ;CHECK-DAG: IMAGE_SAMPLE_C_D {{v\[[0-9]+:[0-9]+\]}}, 13
17 ;CHECK-DAG: IMAGE_SAMPLE_D {{v\[[0-9]+:[0-9]+\]}}, 14 17 ;CHECK-DAG: IMAGE_SAMPLE_D {{v\[[0-9]+:[0-9]+\]}}, 14
18 ;CHECK-DAG: IMAGE_SAMPLE_D {{v[0-9]+}}, 8 18 ;CHECK-DAG: IMAGE_SAMPLE_D {{v[0-9]+}}, 8
19 19
20 define void @test(i32 %a1, i32 %a2, i32 %a3, i32 %a4) { 20 define void @test(i32 %a1, i32 %a2, i32 %a3, i32 %a4) #0 {
21 %v1 = insertelement <4 x i32> undef, i32 %a1, i32 0 21 %v1 = insertelement <4 x i32> undef, i32 %a1, i32 0
22 %v2 = insertelement <4 x i32> undef, i32 %a1, i32 1 22 %v2 = insertelement <4 x i32> undef, i32 %a1, i32 1
23 %v3 = insertelement <4 x i32> undef, i32 %a1, i32 2 23 %v3 = insertelement <4 x i32> undef, i32 %a1, i32 2
24 %v4 = insertelement <4 x i32> undef, i32 %a1, i32 3 24 %v4 = insertelement <4 x i32> undef, i32 %a1, i32 3
25 %v5 = insertelement <4 x i32> undef, i32 %a2, i32 0 25 %v5 = insertelement <4 x i32> undef, i32 %a2, i32 0
136 } 136 }
137 137
138 declare <4 x float> @llvm.SI.sampled.(<4 x i32>, <32 x i8>, <16 x i8>, i32) readnone 138 declare <4 x float> @llvm.SI.sampled.(<4 x i32>, <32 x i8>, <16 x i8>, i32) readnone
139 139
140 declare void @llvm.SI.export(i32, i32, i32, i32, i32, float, float, float, float) 140 declare void @llvm.SI.export(i32, i32, i32, i32, i32, float, float, float, float)
141
142 attributes #0 = { "ShaderType"="0" }