summaryrefslogtreecommitdiffstats
path: root/llvm/test/Other/attribute-comment.ll
blob: eab96e8aa9cd5dd9b14429b7b1d89a5c797070c8 (plain)
1
2
3
4
5
6
7
8
9
; 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" }
OpenPOWER on IntegriCloud