llvm-for-llvmta/test/Other/attribute-comment.ll

10 lines
402 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; RUN: opt -S < %s | FileCheck %s -strict-whitespace
; CHECK: {{^}}; Function Attrs: nounwind readnone ssp uwtable{{$}}
; CHECK-NEXT: define void @test1() #0
define void @test1() #0 {
ret void
}
attributes #0 = { nounwind ssp "less-precise-fpmad"="false" uwtable "frame-pointer"="all" readnone "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" }