You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.246
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
This commit is contained in:
parent
a7724cd563
commit
279aa8f685
15
external/llvm/test/Transforms/IPConstantProp/2008-06-09-WeakProp.ll
vendored
Normal file
15
external/llvm/test/Transforms/IPConstantProp/2008-06-09-WeakProp.ll
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
; RUN: opt < %s -ipconstprop -S | grep "ret i32 %r"
|
||||
; Should not propagate the result of a weak function.
|
||||
; PR2411
|
||||
|
||||
define weak i32 @foo() nounwind {
|
||||
entry:
|
||||
ret i32 1
|
||||
}
|
||||
|
||||
define i32 @main() nounwind {
|
||||
entry:
|
||||
%r = call i32 @foo( ) nounwind
|
||||
ret i32 %r
|
||||
}
|
||||
|
Reference in New Issue
Block a user