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
13
external/llvm/test/Transforms/FunctionAttrs/2008-09-03-ReadOnly.ll
vendored
Normal file
13
external/llvm/test/Transforms/FunctionAttrs/2008-09-03-ReadOnly.ll
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
; RUN: opt < %s -basicaa -functionattrs -S | FileCheck %s
|
||||
|
||||
; CHECK: define i32 @f() #0
|
||||
define i32 @f() {
|
||||
entry:
|
||||
%tmp = call i32 @e( )
|
||||
ret i32 %tmp
|
||||
}
|
||||
|
||||
; CHECK: declare i32 @e() #0
|
||||
declare i32 @e() readonly
|
||||
|
||||
; CHECK: attributes #0 = { readonly }
|
Reference in New Issue
Block a user