brintos

brintos / llvm-project-archived public Read only

0
0
Text · 715 B · dc8c1c4 Raw
21 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 52; RUN: opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux < %s | FileCheck %s3 4define i32 @test() {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]]9;10entry:11  %cond = zext i1 false to i3212  %cond258 = zext i1 false to i3213  %cond283 = zext i1 false to i3214  %cond308 = zext i1 false to i3215  %conv685 = or i32 %cond308, %cond16  %conv710 = or i32 %conv685, %cond25817  %conv735 = or i32 %conv710, %cond28318  %conv791 = or i32 %conv735, %cond19  ret i32 %conv79120}21