diff options
| author | Johannes Doerfert <jdoerfert@anl.gov> | 2019-10-13 02:42:09 +0000 |
|---|---|---|
| committer | Johannes Doerfert <jdoerfert@anl.gov> | 2019-10-13 02:42:09 +0000 |
| commit | 9daf51910b11081a24674cc0822b898a5e19347d (patch) | |
| tree | fc2b0029320f07e13d5f4b936d129cd488c7c854 | |
| parent | ea1e81f54b953ac6846578e074ff7bb265b030ca (diff) | |
| download | bcm5719-llvm-9daf51910b11081a24674cc0822b898a5e19347d.tar.gz bcm5719-llvm-9daf51910b11081a24674cc0822b898a5e19347d.zip | |
[Attributor][FIX] Add missing function declaration in test case
llvm-svn: 374696
| -rw-r--r-- | llvm/test/Transforms/FunctionAttrs/nonnull.ll | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/Transforms/FunctionAttrs/nonnull.ll b/llvm/test/Transforms/FunctionAttrs/nonnull.ll index 7e7b1ad2143..f893e1db889 100644 --- a/llvm/test/Transforms/FunctionAttrs/nonnull.ll +++ b/llvm/test/Transforms/FunctionAttrs/nonnull.ll @@ -533,8 +533,10 @@ define i32* @g1() { ret i32* %c } +declare void @use_i32_ptr(i32*) readnone nounwind ; ATTRIBUTOR: define internal void @called_by_weak(i32* nocapture nonnull readnone %a) define internal void @called_by_weak(i32* %a) { + call void @use_i32_ptr(i32* %a) ret void } |

