func-attrs-a.ll 620 B

1234567891011121314
  1. ; RUN: llvm-link %s %p/func-attrs-b.ll -S -o - | FileCheck %s
  2. ; PR2382
  3. ; CHECK: call void @check0(%struct.S0* sret null, %struct.S0* byval align 4 null, %struct.S0* align 4 null, %struct.S0* byval align 4 null)
  4. ; CHECK: define void @check0(%struct.S0* sret %agg.result, %struct.S0* byval %arg0, %struct.S0* %arg1, %struct.S0* byval %arg2)
  5. %struct.S0 = type <{ i8, i8, i8, i8 }>
  6. define void @a() {
  7. call void @check0(%struct.S0* sret null, %struct.S0* byval align 4 null, %struct.S0* align 4 null, %struct.S0* byval align 4 null)
  8. ret void
  9. }
  10. declare void @check0(%struct.S0*, %struct.S0*, %struct.S0*, %struct.S0*)