1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
2 ; RUN: opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux < %s | FileCheck %s
5 ; CHECK-LABEL: define i32 @test() {
6 ; CHECK-NEXT: [[ENTRY:.*:]]
7 ; CHECK-NEXT: [[TMP0:%.*]] = call i32 @llvm.vector.reduce.or.v4i32(<4 x i32> zeroinitializer)
8 ; CHECK-NEXT: ret i32 [[TMP0]]
11 %cond = zext i1 false to i32
12 %cond258 = zext i1 false to i32
13 %cond283 = zext i1 false to i32
14 %cond308 = zext i1 false to i32
15 %conv685 = or i32 %cond308, %cond
16 %conv710 = or i32 %conv685, %cond258
17 %conv735 = or i32 %conv710, %cond283
18 %conv791 = or i32 %conv735, %cond