mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 07:22:55 +01:00
adf594b2fb
llvm-svn: 174954
203 lines
3.6 KiB
LLVM
203 lines
3.6 KiB
LLVM
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
|
|
; PR12696
|
|
|
|
define void @f1(i8 zeroext)
|
|
; CHECK: define void @f1(i8 zeroext)
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f2(i8 signext)
|
|
; CHECK: define void @f2(i8 signext)
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f3() noreturn
|
|
; CHECK: define void @f3() noreturn
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f4(i8 inreg)
|
|
; CHECK: define void @f4(i8 inreg)
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f5(i8* sret)
|
|
; CHECK: define void @f5(i8* sret)
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f6() nounwind
|
|
; CHECK: define void @f6() nounwind
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f7(i8* noalias)
|
|
; CHECK: define void @f7(i8* noalias)
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f8(i8* byval)
|
|
; CHECK: define void @f8(i8* byval)
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f9(i8* nest)
|
|
; CHECK: define void @f9(i8* nest)
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f10() readnone
|
|
; CHECK: define void @f10() readnone
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f11() readonly
|
|
; CHECK: define void @f11() readonly
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f12() noinline
|
|
; CHECK: define void @f12() noinline
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f13() alwaysinline
|
|
; CHECK: define void @f13() alwaysinline
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f14() optsize
|
|
; CHECK: define void @f14() optsize
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f15() ssp
|
|
; CHECK: define void @f15() ssp
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f16() sspreq
|
|
; CHECK: define void @f16() sspreq
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f17(i8 align 4)
|
|
; CHECK: define void @f17(i8 align 4)
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f18(i8* nocapture)
|
|
; CHECK: define void @f18(i8* nocapture)
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f19() noredzone
|
|
; CHECK: define void @f19() noredzone
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f20() noimplicitfloat
|
|
; CHECK: define void @f20() noimplicitfloat
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f21() naked
|
|
; CHECK: define void @f21() naked
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f22() inlinehint
|
|
; CHECK: define void @f22() inlinehint
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f23() alignstack(4)
|
|
; CHECK: define void @f23() alignstack(4)
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f24() returns_twice
|
|
; CHECK: define void @f24() returns_twice
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f25() uwtable
|
|
; CHECK: define void @f25() uwtable
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f26() nonlazybind
|
|
; CHECK: define void @f26() nonlazybind
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f27() address_safety
|
|
; CHECK: define void @f27() address_safety
|
|
{
|
|
ret void;
|
|
}
|
|
define void @f28() thread_safety
|
|
; CHECK: define void @f28() thread_safety
|
|
{
|
|
ret void;
|
|
}
|
|
define void @f29() uninitialized_checks
|
|
; CHECK: define void @f29() uninitialized_checks
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
define void @f30() "cpu"="cortex-a8"
|
|
; CHECK: define void @f30() "cpu"="cortex-a8"
|
|
{
|
|
ret void;
|
|
}
|
|
|
|
; CHECK: attributes #0 = { noreturn }
|
|
; CHECK: attributes #1 = { nounwind }
|
|
; CHECK: attributes #2 = { readnone }
|
|
; CHECK: attributes #3 = { readonly }
|
|
; CHECK: attributes #4 = { noinline }
|
|
; CHECK: attributes #5 = { alwaysinline }
|
|
; CHECK: attributes #6 = { optsize }
|
|
; CHECK: attributes #7 = { ssp }
|
|
; CHECK: attributes #8 = { sspreq }
|
|
; CHECK: attributes #9 = { noredzone }
|
|
; CHECK: attributes #10 = { noimplicitfloat }
|
|
; CHECK: attributes #11 = { naked }
|
|
; CHECK: attributes #12 = { inlinehint }
|
|
; CHECK: attributes #13 = { alignstack=4 }
|
|
; CHECK: attributes #14 = { returns_twice }
|
|
; CHECK: attributes #15 = { uwtable }
|
|
; CHECK: attributes #16 = { nonlazybind }
|
|
; CHECK: attributes #17 = { address_safety }
|
|
; CHECK: attributes #18 = { thread_safety }
|
|
; CHECK: attributes #19 = { uninitialized_checks }
|
|
; CHECK: attributes #20 = { "cpu"="cortex-a8" }
|