[PATCH] D104641: Strip undef implying attributes when moving calls
Anna Thomas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 27 07:47:11 PDT 2021
anna marked 2 inline comments as done.
anna added inline comments.
================
Comment at: llvm/include/llvm/IR/Instruction.h:398-401
+ void dropUndefImplyingAttrsAndUnknownMetadata();
+
+ /// Use this API when we need to preserve some metadata through KnownIDs.
+ void dropUndefImplyingAttrsAndUnknownMetadata(ArrayRef<unsigned> KnownIDs);
----------------
lebedev.ri wrote:
> Wouldn't
> ```
> void dropUndefImplyingAttrsAndUnknownMetadata(ArrayRef<unsigned> KnownIDs = {});
> ```
> suffice?
agreed, done.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104641/new/
https://reviews.llvm.org/D104641
More information about the llvm-commits
mailing list