[PATCH] D89342: [Attributor][NFC] Make `createShallowWrapper()` available outside of Attributor

Stefan Stipanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 13 14:20:27 PDT 2020


sstefan1 added inline comments.


================
Comment at: llvm/include/llvm/Transforms/IPO/Attributor.h:1596
+    ReturnInst::Create(Ctx, CI->getType()->isVoidTy() ? nullptr : CI, EntryBB);
+  }
+
----------------
jdoerfert wrote:
> No need to move the code in the header, right? Just move the declaration here.
Right...rushed this a bit, will update shortly.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89342



More information about the llvm-commits mailing list