VictorHuangIBM

IR TailCall Debug

May 15th, 2020
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. define dso_local void @caller(double* nocapture %res, double %a) local_unnamed_addr #0 {
  2. entry:
  3. %call = tail call double @callee(double %a) #2
  4. store double %call, double* %res, align 8
  5. ret void
  6. }
  7. define double @callee(double) local_unnamed_addr #1 {
  8. ret double 4.5
  9. }
  10. attributes #0 = { nounwind }
  11. attributes #1 = { readnone speculatable }
  12. attributes #2 = { nounwind noinline }
Add Comment
Please, Sign In to add comment