brintos

brintos / llvm-project-archived public Read only

0
0
Text · 746 B · 76f7bb6 Raw
27 lines · plain
1; RUN: not llvm-as -disable-output < %s 2>&1 | FileCheck %s2; CHECK: Access type node must be a valid scalar type3 4define void @test6(ptr %gi, i1 %arg) #0 {5entry:6  store i32 42, ptr %gi, align 4, !tbaa !07  br label %for.cond8 9for.cond:                                         ; preds = %for.body, %entry10  br i1 %arg, label %for.body, label %for.end11 12for.body:                                         ; preds = %for.cond13  store i32 undef, ptr %gi, align 4, !tbaa !214  br label %for.cond15 16for.end:                                          ; preds = %for.cond17  ret void18}19 20attributes #0 = { nounwind ssp uwtable }21 22!0 = !{!1, !1, i64 0}23!1 = !{!"Simple C/C++ TBAA"}24!2 = distinct !{!3, !2, i64 0}25!3 = !{!"int", !4}26!4 = !{!"omnipotent ", !1}27