11 lines · plain
1; PR 12582; RUN: not llvm-as -disable-output < %s 2>&1 | FileCheck %s3 4; CHECK: '%0' defined with type 'i1'5define i32 @test1(i32 %a, i32 %b) {6entry:7 icmp eq i32 %b, %a ; <i1>:0 [#uses=1]8 zext i1 %0 to i32 ; <i32>:0 [#uses=1]9 ret i32 %0 ; Invalid Type for %010}11