noinline.ll 322 B

123456789101112131415161718
  1. ; RUN: opt -inline -S < %s | FileCheck %s
  2. ; PR6682
  3. declare void @foo() nounwind
  4. define void @bar() nounwind {
  5. entry:
  6. tail call void @foo() nounwind
  7. ret void
  8. }
  9. define void @bazz() nounwind {
  10. entry:
  11. tail call void @bar() nounwind noinline
  12. ret void
  13. }
  14. ; CHECK: define void @bazz()
  15. ; CHECK: call void @bar()