1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 3
2 ; RUN: opt -S --passes=slp-vectorizer < %s | FileCheck %s
5 ; CHECK-LABEL: define void @test() {
7 ; CHECK-NEXT: [[TMP0:%.*]] = extractelement <1 x i64> zeroinitializer, i64 0
8 ; CHECK-NEXT: [[BF_VALUE:%.*]] = and i64 [[TMP0]], 0
9 ; CHECK-NEXT: [[BF_CLEAR:%.*]] = and i64 0, 1
10 ; CHECK-NEXT: [[BF_SET:%.*]] = or i64 [[BF_CLEAR]], [[BF_VALUE]]
11 ; CHECK-NEXT: store i64 [[BF_SET]], ptr null, align 8
12 ; CHECK-NEXT: ret void
15 %0 = extractelement <1 x i64> zeroinitializer, i64 0
16 %bf.value = and i64 %0, 0
17 %bf.clear = and i64 0, 1
18 %bf.set = or i64 %bf.clear, %bf.value
19 store i64 %bf.set, ptr null, align 8