brintos

brintos / llvm-project-archived public Read only

0
0
Text · 666 B · 2db3bf0 Raw
17 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py2; RUN: opt < %s -passes=instcombine -S | FileCheck %s3 4; This used to crash, depending on the particular worklist iteration order.5define void @pr59613(<6 x i16> %0) {6; CHECK-LABEL: @pr59613(7; CHECK-NEXT:    store <6 x i16> poison, ptr null, align 168; CHECK-NEXT:    ret void9;10  %cmp1 = icmp ne <6 x i16> %0, zeroinitializer11  %or = or <6 x i1> <i1 true, i1 false, i1 false, i1 false, i1 undef, i1 undef>, %cmp112  %sext = sext <6 x i1> %or to <6 x i16>13  %not = xor <6 x i16> %sext, <i16 -1, i16 -1, i16 -1, i16 -1, i16 -1, i16 -1>14  store <6 x i16> %not, ptr null, align 1615  ret void16}17