[PATCH] D147694: [FunctionAttrs] Fix nounwind inference for landingpads

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 13 01:06:39 PDT 2023


nikic updated this revision to Diff 513090.
nikic added a comment.

I'm handling the cleanuppad itself as throwing now, so we don't need to consider all the different places it can occur (invoke, catchswitch, cleanupret). As this is for the phase-one case only it doesn't really matter whether the cleanuppad itself unwinds or whatever is calling it.


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

https://reviews.llvm.org/D147694

Files:
  llvm/include/llvm/IR/Instruction.h
  llvm/lib/IR/Instruction.cpp
  llvm/lib/Transforms/IPO/AttributorAttributes.cpp
  llvm/lib/Transforms/IPO/FunctionAttrs.cpp
  llvm/test/Transforms/Attributor/nocapture-1.ll
  llvm/test/Transforms/FunctionAttrs/nounwind.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147694.513090.patch
Type: text/x-patch
Size: 32609 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230413/092a4892/attachment.bin>


More information about the llvm-commits mailing list