mirror of
https://github.com/opnsense/src.git
synced 2026-03-18 08:41:30 -04:00
12 lines
438 B
LLVM
12 lines
438 B
LLVM
; 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 }
|