source: icGREP/icgrep-devel/llvm-3.8.0.src/test/Assembler/2003-05-15-AssemblerProblem.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 501 bytes
Line 
1; This bug was caused by two CPR's existing for the same global variable,
2; colliding in the Module level CPR map.
3; RUN: llvm-as %s -o /dev/null
4; RUN: verify-uselistorder %s
5
6define void @test() {
7        call void (...) bitcast (void (i16*, i32)* @AddString to void (...)*)( i16* null, i32 0 )
8        ret void
9}
10
11define void @AddString(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
14}
15
Note: See TracBrowser for help on using the repository browser.