[PATCH] D135073: [SimplifyLibCalls] Reduce code duplication. NFC

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 3 08:09:56 PDT 2022


nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.

LG



================
Comment at: llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp:290
 
+static Value* mergeAttributesAndFlags(CallInst *NewCI, const CallInst &Old) {
+  NewCI->setAttributes(Old.getAttributes());
----------------
nit: `Value *`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135073



More information about the llvm-commits mailing list