[PATCH] D47673: [Coroutines] Less IR for noexcept await_resume

Brian Gesiak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 2 00:18:17 PDT 2018


modocache created this revision.
modocache added reviewers: GorNishanov, EricWF.
Herald added a subscriber: cfe-commits.

In his review of https://reviews.llvm.org/D45860, @GorNishanov suggested
avoiding generating additional exception-handling IR in the case that
the resume function was marked as 'noexcept', and exceptions could not
occur. This implements that suggestion.

Test Plan: `check-clang`


Repository:
  rC Clang

https://reviews.llvm.org/D47673

Files:
  lib/CodeGen/CGCoroutine.cpp
  test/CodeGenCoroutines/coro-await-resume-eh.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47673.149604.patch
Type: text/x-patch
Size: 5587 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180602/88331912/attachment.bin>


More information about the llvm-commits mailing list