[PATCH] D157499: [IR] Add noreadafterunwind attribute

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 9 14:26:43 PDT 2023


rnk added subscribers: aeubanks, jyknight.
rnk added a comment.

This approach makes sense to me.

I reconfirmed for myself that this will work for C++ sret objects that need to be cleaned up: https://gcc.godbolt.org/z/hnddhTqWa It's the only way it could possibly work, but it took a minute to remind myself how it works.

Please add a test to llvm/test/Bitcode/attributes.ll for the new attribute.

cc some folks with an interest in IR: @asbirlea @jyknight @aeubanks


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

https://reviews.llvm.org/D157499



More information about the llvm-commits mailing list