Home | History | Annotate | Download | only in InferFunctionAttrs
      1 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -inferattrs -S | FileCheck %s
      2 %struct.statvfs64 = type { i32 }
      3 
      4 ; Function Attrs: norecurse uwtable
      5 define i32 @foo() {
      6 entry:
      7   %st = alloca %struct.statvfs64, align 4
      8   %0 = bitcast %struct.statvfs64* %st to i8*
      9   ret i32 0
     10 }
     11 
     12 ; CHECK: declare i32 @statvfs64(%struct.statvfs64*){{$}}
     13 declare i32 @statvfs64(%struct.statvfs64*)
     14