brintos

brintos / llvm-project-archived public Read only

0
0
Text · 474 B · b6c7993 Raw
20 lines · plain
1; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g52 3; Test that causes a abort in expanding a bit convert due to a missing support4; for widening.5 6define i32 @main() nounwind {7entry:8	%cmp = icmp ne i32 trunc (i64 bitcast (<2 x i32> <i32 2, i32 2> to i64) to i32), 29	br i1 %cmp, label %bb, label %bb110 11bb:		; preds = %entry12	tail call void @abort() noreturn nounwind13	unreachable14 15bb1:		; preds = %entry16	ret i32 017}18 19declare void @abort() noreturn nounwind20