[PATCH] D89342: [Attributor][NFC] Make `createShallowWrapper()` available outside of Attributor
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 13 14:11:21 PDT 2020
jdoerfert added inline comments.
================
Comment at: llvm/include/llvm/Transforms/IPO/Attributor.h:1596
+ ReturnInst::Create(Ctx, CI->getType()->isVoidTy() ? nullptr : CI, EntryBB);
+ }
+
----------------
No need to move the code in the header, right? Just move the declaration here.
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