brintos

brintos / llvm-project-archived public Read only

0
0
Text · 693 B · 7c23db8 Raw
39 lines · plain
1; RUN: llc  -mtriple=mipsel-elf -mattr=mips16 -relocation-model=pic -O3 < %s | FileCheck %s -check-prefix=162 3@i = global i32 5, align 44@j = global i32 10, align 45@result = global i32 0, align 46 7define void @test() nounwind {8entry:9  %0 = load i32, ptr @i, align 410  %1 = load i32, ptr @j, align 411  %cmp = icmp eq i32 %0, %112; 16:	cmp	${{[0-9]+}}, ${{[0-9]+}}13; 16:	bteqz	$[[LABEL:[0-9A-Ba-b_]+]]14; 16: $[[LABEL]]:15  br i1 %cmp, label %if.end, label %if.then16 17if.then:                                          ; preds = %entry18  store i32 1, ptr @result, align 419  br label %if.end20 21if.end:                                           ; preds = %entry, %if.then22  ret void23}24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39