comparison test/Transforms/InstCombine/align-attr.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 54457678186b
children 1172e4bd9c6f
comparison
equal deleted inserted replaced
84:f3e34b893a5f 95:afa8332a0e37
3 target triple = "x86_64-unknown-linux-gnu" 3 target triple = "x86_64-unknown-linux-gnu"
4 4
5 ; Function Attrs: nounwind uwtable 5 ; Function Attrs: nounwind uwtable
6 define i32 @foo1(i32* align 32 %a) #0 { 6 define i32 @foo1(i32* align 32 %a) #0 {
7 entry: 7 entry:
8 %0 = load i32* %a, align 4 8 %0 = load i32, i32* %a, align 4
9 ret i32 %0 9 ret i32 %0
10 10
11 ; CHECK-LABEL: @foo1 11 ; CHECK-LABEL: @foo1
12 ; CHECK-DAG: load i32* %a, align 32 12 ; CHECK-DAG: load i32, i32* %a, align 32
13 ; CHECK: ret i32 13 ; CHECK: ret i32
14 } 14 }
15 15