mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-25 21:46:50 +00:00
2f6622c7bf
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158166 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
353 B
LLVM
12 lines
353 B
LLVM
; RUN: opt < %s -instcombine -S | FileCheck %s
|
|
; CHECK: bitcast
|
|
|
|
define void @foo(<16 x i8> %a, <16 x i8> %b, <4 x i32>* %c) {
|
|
%aa = bitcast <16 x i8> %a to <4 x i32>
|
|
%bb = bitcast <16 x i8> %b to <4 x i32>
|
|
%select_v = select <4 x i1> zeroinitializer, <4 x i32> %aa, <4 x i32> %bb
|
|
store <4 x i32> %select_v, <4 x i32>* %c, align 4
|
|
ret void
|
|
}
|
|
|