From 36b56886974eae4f9c5ebc96befd3e7bfe5de338 Mon Sep 17 00:00:00 2001 From: Stephen Hines Date: Wed, 23 Apr 2014 16:57:46 -0700 Subject: Update to LLVM 3.5a. Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617 --- test/CodeGen/R600/llvm.SI.sampled.ll | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/CodeGen/R600/llvm.SI.sampled.ll') diff --git a/test/CodeGen/R600/llvm.SI.sampled.ll b/test/CodeGen/R600/llvm.SI.sampled.ll index 21ac725..366456f 100644 --- a/test/CodeGen/R600/llvm.SI.sampled.ll +++ b/test/CodeGen/R600/llvm.SI.sampled.ll @@ -17,7 +17,7 @@ ;CHECK-DAG: IMAGE_SAMPLE_D {{v\[[0-9]+:[0-9]+\]}}, 14 ;CHECK-DAG: IMAGE_SAMPLE_D {{v[0-9]+}}, 8 -define void @test(i32 %a1, i32 %a2, i32 %a3, i32 %a4) { +define void @test(i32 %a1, i32 %a2, i32 %a3, i32 %a4) #0 { %v1 = insertelement <4 x i32> undef, i32 %a1, i32 0 %v2 = insertelement <4 x i32> undef, i32 %a1, i32 1 %v3 = insertelement <4 x i32> undef, i32 %a1, i32 2 @@ -138,3 +138,5 @@ define void @test(i32 %a1, i32 %a2, i32 %a3, i32 %a4) { declare <4 x float> @llvm.SI.sampled.(<4 x i32>, <32 x i8>, <16 x i8>, i32) readnone declare void @llvm.SI.export(i32, i32, i32, i32, i32, float, float, float, float) + +attributes #0 = { "ShaderType"="0" } -- cgit v1.1