[llvm] r374696 - [Attributor][FIX] Add missing function declaration in test case
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 12 19:42:09 PDT 2019
Author: jdoerfert
Date: Sat Oct 12 19:42:09 2019
New Revision: 374696
URL: http://llvm.org/viewvc/llvm-project?rev=374696&view=rev
Log:
[Attributor][FIX] Add missing function declaration in test case
Modified:
llvm/trunk/test/Transforms/FunctionAttrs/nonnull.ll
Modified: llvm/trunk/test/Transforms/FunctionAttrs/nonnull.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/FunctionAttrs/nonnull.ll?rev=374696&r1=374695&r2=374696&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/FunctionAttrs/nonnull.ll (original)
+++ llvm/trunk/test/Transforms/FunctionAttrs/nonnull.ll Sat Oct 12 19:42:09 2019
@@ -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
}
More information about the llvm-commits
mailing list