comparison test/CodeGen/X86/fast-isel-call-bool.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 60c9769439b8
children
comparison
equal deleted inserted replaced
84:f3e34b893a5f 95:afa8332a0e37
6 declare i64 @bar(i1) 6 declare i64 @bar(i1)
7 7
8 define i64 @foo(i8* %arg) { 8 define i64 @foo(i8* %arg) {
9 ; CHECK-LABEL: foo: 9 ; CHECK-LABEL: foo:
10 top: 10 top:
11 %0 = load i8* %arg 11 %0 = load i8, i8* %arg
12 ; CHECK: movb 12 ; CHECK: movb
13 %1 = trunc i8 %0 to i1 13 %1 = trunc i8 %0 to i1
14 ; CHECK: andb $1, 14 ; CHECK: andb $1,
15 %2 = call i64 @bar(i1 %1) 15 %2 = call i64 @bar(i1 %1)
16 ; CHECK: callq 16 ; CHECK: callq