brintos

brintos / llvm-project-archived public Read only

0
0
Text · 484 B · 7b6fa0b Raw
18 lines · plain
1; RUN: llc < %s -mtriple=i686-unknown -mattr=+avx2; RUN: llc < %s -mtriple=x86_64-unknown -mattr=+avx3 4;5; llvm-stress generated crash case due to build_vector implicit6; truncation bug from constant folding after legalization.7;8 9@G = external dso_local global i3210 11define void @bv_crash_test() {12  %I = insertelement <4 x i64> zeroinitializer, i64 15910, i32 013  %Tr = trunc <4 x i64> %I to <4 x i8>14  %Bc = bitcast <4 x i8> %Tr to i3215  store volatile i32 %Bc, ptr @G16  ret void17}18