comparison test/CodeGen/Mips/brconeqz.ll @ 95:afa8332a0e37 LLVM3.8

LLVM 3.8
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 13 Oct 2015 17:48:58 +0900
parents 95c75e76d11b
children 7d135dc70f03
comparison
equal deleted inserted replaced
84:f3e34b893a5f 95:afa8332a0e37
3 @i = global i32 5, align 4 3 @i = global i32 5, align 4
4 @result = global i32 0, align 4 4 @result = global i32 0, align 4
5 5
6 define void @test() nounwind { 6 define void @test() nounwind {
7 entry: 7 entry:
8 %0 = load i32* @i, align 4 8 %0 = load i32, i32* @i, align 4
9 %cmp = icmp eq i32 %0, 0 9 %cmp = icmp eq i32 %0, 0
10 br i1 %cmp, label %if.end, label %if.then 10 br i1 %cmp, label %if.end, label %if.then
11 ; 16: beqz ${{[0-9]+}}, $[[LABEL:[0-9A-Ba-b_]+]] 11 ; 16: beqz ${{[0-9]+}}, $[[LABEL:[0-9A-Ba-b_]+]]
12 ; 16: $[[LABEL]]: 12 ; 16: $[[LABEL]]:
13 if.then: ; preds = %entry 13 if.then: ; preds = %entry