1 ; RUN: opt -passes='require<profile-summary>,function(codegenprepare)' -S %s | FileCheck %s
3 target triple = "x86_64-unknown-linux-gnu"
5 ; CHECK-LABEL: shuffle_one_source
7 define <2 x i8> @shuffle_one_source(i32 %x) {
8 %Shuf = shufflevector <2 x i8> zeroinitializer, <2 x i8> zeroinitializer, <2 x i32> undef
9 %Cmp = icmp slt i32 480483, %x
10 %B = mul <2 x i8> %Shuf, %Shuf
11 %S = select i1 %Cmp, <2 x i8> %B, <2 x i8> zeroinitializer