comparison test/CodeGen/X86/mulx32.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 803732b1fca8
comparison
equal deleted inserted replaced
84:f3e34b893a5f 95:afa8332a0e37
9 ; CHECK: ret 9 ; CHECK: ret
10 ret i64 %r 10 ret i64 %r
11 } 11 }
12 12
13 define i64 @f2(i32 %a, i32* %p) { 13 define i64 @f2(i32 %a, i32* %p) {
14 %b = load i32* %p 14 %b = load i32, i32* %p
15 %x = zext i32 %a to i64 15 %x = zext i32 %a to i64
16 %y = zext i32 %b to i64 16 %y = zext i32 %b to i64
17 %r = mul i64 %x, %y 17 %r = mul i64 %x, %y
18 ; CHECK: f2 18 ; CHECK: f2
19 ; CHECK: mulxl ({{.+}}), %{{.+}}, %{{.+}} 19 ; CHECK: mulxl ({{.+}}), %{{.+}}, %{{.+}}