[PATCH] D118852: [NFC] pull retvec logic to MemoryTaggingSupport.
Florian Mayer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 2 15:58:28 PST 2022
fmayer added inline comments.
================
Comment at: llvm/include/llvm/Transforms/Utils/MemoryTaggingSupport.h:73
+
+void maybeAddToRetVec(Instruction &Inst,
+ SmallVectorImpl<Instruction *> &RetVec);
----------------
eugenis wrote:
> That's a very vague function name for the common utils header.
>
> How about `getUntagLocationForFunctionExit` and return `Instruction*`?
>
Good point. `getUntagLocationForFunctionExit` is a bit of a mouthfull though, what do you think about this?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118852/new/
https://reviews.llvm.org/D118852
More information about the llvm-commits
mailing list