[PATCH] D83351: [llvm-reduce] Reducing attributes
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 8 14:36:26 PDT 2020
nickdesaulniers added a comment.
In D83351#2140113 <https://reviews.llvm.org/D83351#2140113>, @lebedev.ri wrote:
> I will split this up into several commits when landing.
What's the plan?
================
Comment at: llvm/tools/llvm-reduce/deltas/ReduceAttributes.cpp:74-76
+ if (F.getIntrinsicID() != Intrinsic::not_intrinsic)
+ return; // We can neither add nor remove attributes from intrinsics.
+ visitAttributeList(F.getAttributes(), FunctionsToRefine[&F]);
----------------
```
// We can neither add nor remove attributes from intrinsics.
if (F.getIntrinsicID() == Intrinsic::not_intrinsic)
visitAttributeList(F.getAttributes(), FunctionsToRefine[&F]);
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83351/new/
https://reviews.llvm.org/D83351
More information about the llvm-commits
mailing list