comparison test/Transforms/InstCombine/2012-6-7-vselect-bitcast.ll @ 0:95c75e76d11b LLVM3.4

LLVM 3.4
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 13:56:28 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:95c75e76d11b
1 ; RUN: opt < %s -instcombine -S | FileCheck %s
2 ; CHECK: bitcast
3
4 define void @foo(<16 x i8> %a, <16 x i8> %b, <4 x i32>* %c) {
5 %aa = bitcast <16 x i8> %a to <4 x i32>
6 %bb = bitcast <16 x i8> %b to <4 x i32>
7 %select_v = select <4 x i1> zeroinitializer, <4 x i32> %aa, <4 x i32> %bb
8 store <4 x i32> %select_v, <4 x i32>* %c, align 4
9 ret void
10 }
11