comparison test/Assembler/2003-05-15-AssemblerProblem.ll @ 95:afa8332a0e37

LLVM 3.8
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 13 Oct 2015 17:48:58 +0900
parents 54457678186b
children
comparison
equal deleted inserted replaced
84:f3e34b893a5f 95:afa8332a0e37
2 ; colliding in the Module level CPR map. 2 ; colliding in the Module level CPR map.
3 ; RUN: llvm-as %s -o /dev/null 3 ; RUN: llvm-as %s -o /dev/null
4 ; RUN: verify-uselistorder %s 4 ; RUN: verify-uselistorder %s
5 5
6 define void @test() { 6 define void @test() {
7 call void (...)* bitcast (void (i16*, i32)* @AddString to void (...)*)( i16* null, i32 0 ) 7 call void (...) bitcast (void (i16*, i32)* @AddString to void (...)*)( i16* null, i32 0 )
8 ret void 8 ret void
9 } 9 }
10 10
11 define void @AddString(i16* %tmp.124, i32 %tmp.127) { 11 define void @AddString(i16* %tmp.124, i32 %tmp.127) {
12 call void (...)* bitcast (void (i16*, i32)* @AddString to void (...)*)( i16* %tmp.124, i32 %tmp.127 ) 12 call void (...) bitcast (void (i16*, i32)* @AddString to void (...)*)( i16* %tmp.124, i32 %tmp.127 )
13 ret void 13 ret void
14 } 14 }
15 15