16 lines · plain
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/null4; RUN: verify-uselistorder %s5 6define void @test() {7 call void (...) @AddString( ptr null, i32 0 )8 ret void9}10 11define void @AddString(ptr %tmp.124, i32 %tmp.127) {12 call void (...) @AddString( ptr %tmp.124, i32 %tmp.127 )13 ret void14}15 16