mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-24 04:56:51 +00:00
3778c04b2e
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181682 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
397 B
LLVM
11 lines
397 B
LLVM
; RUN: llc < %s
|
|
target triple = "armv7-none-linux-gnueabi"
|
|
|
|
define <3 x i64> @shuffle(i1 %dec1, i1 %dec0, <3 x i64> %b) {
|
|
entry:
|
|
%.sink = select i1 %dec1, <3 x i64> %b, <3 x i64> zeroinitializer
|
|
%.sink15 = select i1 %dec0, <3 x i64> %b, <3 x i64> zeroinitializer
|
|
%vecinit7 = shufflevector <3 x i64> %.sink, <3 x i64> %.sink15, <3 x i32> <i32 0, i32 4, i32 undef>
|
|
ret <3 x i64> %vecinit7
|
|
}
|