Mercurial > hg > CbC > CbC_llvm
comparison test/CodeGen/X86/2008-12-02-dagcombine-1.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 %2 = ptrtoint i8* %P to i32 | 9 %2 = ptrtoint i8* %P to i32 |
10 %3 = sub i32 0, %2 | 10 %3 = sub i32 0, %2 |
11 %4 = ptrtoint i8* %L to i32 | 11 %4 = ptrtoint i8* %L to i32 |
12 %5 = add i32 %4, %3 | 12 %5 = add i32 %4, %3 |
13 %6 = add i32 %5, %1 ; <i32> [#uses=1] | 13 %6 = add i32 %5, %1 ; <i32> [#uses=1] |
14 %7 = getelementptr i8* %a, i32 %6 ; <i8*> [#uses=1] | 14 %7 = getelementptr i8, i8* %a, i32 %6 ; <i8*> [#uses=1] |
15 br label %return | 15 br label %return |
16 | 16 |
17 return: ; preds = %bb3 | 17 return: ; preds = %bb3 |
18 ret i8* %7 | 18 ret i8* %7 |
19 } | 19 } |