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
12
external/llvm/test/Transforms/ForcedFunctionAttrs/forced.ll
vendored
Normal file
12
external/llvm/test/Transforms/ForcedFunctionAttrs/forced.ll
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
; RUN: opt < %s -S -forceattrs | FileCheck %s --check-prefix=CHECK-CONTROL
|
||||
; RUN: opt < %s -S -forceattrs -force-attribute foo:noinline | FileCheck %s --check-prefix=CHECK-FOO
|
||||
; RUN: opt < %s -S -passes=forceattrs -force-attribute foo:noinline | FileCheck %s --check-prefix=CHECK-FOO
|
||||
|
||||
; CHECK-CONTROL: define void @foo() {
|
||||
; CHECK-FOO: define void @foo() #0 {
|
||||
define void @foo() {
|
||||
ret void
|
||||
}
|
||||
|
||||
|
||||
; CHECK-FOO: attributes #0 = { noinline }
|
Reference in New Issue
Block a user