Mercurial > hg > CbC > CbC_llvm
comparison test/Analysis/BasicAA/memset_pattern.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 |
---|---|
11 define i32 @test() nounwind uwtable ssp { | 11 define i32 @test() nounwind uwtable ssp { |
12 entry: | 12 entry: |
13 store i32 1, i32* @z | 13 store i32 1, i32* @z |
14 tail call void @memset_pattern16(i8* bitcast (i32* @y to i8*), i8* bitcast (i32* @x to i8*), i64 4) nounwind | 14 tail call void @memset_pattern16(i8* bitcast (i32* @y to i8*), i8* bitcast (i32* @x to i8*), i64 4) nounwind |
15 ; CHECK-NOT: load | 15 ; CHECK-NOT: load |
16 %l = load i32* @z | 16 %l = load i32, i32* @z |
17 ; CHECK: ret i32 1 | 17 ; CHECK: ret i32 1 |
18 ret i32 %l | 18 ret i32 %l |
19 } | 19 } |
20 | 20 |
21 declare void @memset_pattern16(i8*, i8*, i64) | 21 declare void @memset_pattern16(i8*, i8*, i64) |