forked from OSchip/llvm-project
[Attributor][FIX] Add missing function declaration in test case
llvm-svn: 374696
This commit is contained in:
parent
ea1e81f54b
commit
9daf51910b
|
@ -533,8 +533,10 @@ define i32* @g1() {
|
||||||
ret i32* %c
|
ret i32* %c
|
||||||
}
|
}
|
||||||
|
|
||||||
|
declare void @use_i32_ptr(i32*) readnone nounwind
|
||||||
; ATTRIBUTOR: define internal void @called_by_weak(i32* nocapture nonnull readnone %a)
|
; ATTRIBUTOR: define internal void @called_by_weak(i32* nocapture nonnull readnone %a)
|
||||||
define internal void @called_by_weak(i32* %a) {
|
define internal void @called_by_weak(i32* %a) {
|
||||||
|
call void @use_i32_ptr(i32* %a)
|
||||||
ret void
|
ret void
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue