comparison test/CodeGen/X86/constant-hoisting-optnone.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
10 ; CHECK-LABEL: @constant_hoisting_optnone 10 ; CHECK-LABEL: @constant_hoisting_optnone
11 ; CHECK-DAG: movabsq {{.*#+}} imm = 0xBEEBEEBF4 11 ; CHECK-DAG: movabsq {{.*#+}} imm = 0xBEEBEEBF4
12 ; CHECK-DAG: movabsq {{.*#+}} imm = 0xBEEBEEBEC 12 ; CHECK-DAG: movabsq {{.*#+}} imm = 0xBEEBEEBEC
13 ; CHECK: ret 13 ; CHECK: ret
14 entry: 14 entry:
15 %0 = load i64* inttoptr (i64 51250129900 to i64*) 15 %0 = load i64, i64* inttoptr (i64 51250129900 to i64*)
16 %1 = load i64* inttoptr (i64 51250129908 to i64*) 16 %1 = load i64, i64* inttoptr (i64 51250129908 to i64*)
17 %2 = add i64 %0, %1 17 %2 = add i64 %0, %1
18 ret i64 %2 18 ret i64 %2
19 } 19 }
20 20
21 attributes #0 = { optnone noinline } 21 attributes #0 = { optnone noinline }