brintos

brintos / llvm-project-archived public Read only

0
0
Text · 416 B · a1c09bc Raw
15 lines · plain
1; RUN: llc -mtriple=hexagon -debug-only=isel < %s 2>/dev/null2; REQUIRES: asserts3 4; Make sure that this doesn't crash. Debug option enabled a failing assertion5; about type mismatch in formal arguments.6; CHECK: vaddub7 8define i1 @t_i4x8(<4 x i8> %a, <4 x i8> %b) nounwind {9entry:10	%0 = add <4 x i8> %a, %b11        %1 = bitcast <4 x i8> %0 to <32 x i1>12        %2 = extractelement <32 x i1> %1, i32 013	ret i1 %214}15