summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Watry <awatry@gmail.com>2013-05-14 22:39:56 -0500
committerAaron Watry <awatry@gmail.com>2013-05-14 22:39:56 -0500
commita491565c127770ba042ed7d62a7c8cbab1b12953 (patch)
treee9eeeb3b2973d008b873008c640cbb719ebfc91b
parentc82b6b45c3374ee199111c5ec087655a82a28003 (diff)
fix unused assembly... just in case we use it in the future.
-rw-r--r--generic/lib/shared/vload_impl.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/lib/shared/vload_impl.ll b/generic/lib/shared/vload_impl.ll
index f1735f3..05ef391 100644
--- a/generic/lib/shared/vload_impl.ll
+++ b/generic/lib/shared/vload_impl.ll
@@ -8,12 +8,12 @@ define <2 x i32> @__clc_vload2_impl_int__global(i32 %offset, i32 addrspace(1)*
ret <2 x i32> %4
}
-define <2 x i32> @__clc_vload3_impl_int__global(i32 %offset, i32 addrspace(1)* nocapture %addr) nounwind readnone alwaysinline {
+define <3 x i32> @__clc_vload3_impl_int__global(i32 %offset, i32 addrspace(1)* nocapture %addr) nounwind readnone alwaysinline {
%1 = ptrtoint i32 addrspace(1)* %addr to i32
%2 = add i32 %1, %offset
- %3 = inttoptr i32 %2 to <2 x i32> addrspace(1)*
- %4 = load <2 x i32> addrspace(1)* %3, align 4, !tbaa !3
- ret <2 x i32> %4
+ %3 = inttoptr i32 %2 to <3 x i32> addrspace(1)*
+ %4 = load <3 x i32> addrspace(1)* %3, align 4, !tbaa !3
+ ret <3 x i32> %4
}
define <4 x i32> @__clc_vload4_impl_int__global(i32 %offset, i32 addrspace(1)* nocapture %addr) nounwind readnone alwaysinline {