[PATCH] D83906: [CodeGen] Emit a call instruction instead of an invoke if the called llvm function is marked nounwind

Vedant Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 15 14:33:58 PDT 2020


vsk accepted this revision.
vsk added a comment.
This revision is now accepted and ready to land.

Looks good to me.



================
Comment at: clang/test/CodeGenObjCXX/os_log.mm:16
 
   // An `invoke` of a `nounwind` callee is simplified to a direct
   // call by an optimization in llvm. Just check that we emit `nounwind`.
----------------
This comment can simply read "Check that the os_log_helper is marked `nounwind`."


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83906/new/

https://reviews.llvm.org/D83906





More information about the cfe-commits mailing list