It's a relatively heavy data structure, make sure it's not copied.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D116034
Prevent copy of AttrBuilder ClosedPublic Authored by serge-sans-paille on Dec 20 2021, 5:34 AM.
Details
Summary It's a relatively heavy data structure, make sure it's not copied.
Diff Detail
Event TimelineHerald added subscribers: dexonsmith, jdoerfert, hiraditya. · View Herald TranscriptDec 20 2021, 5:34 AM This revision is now accepted and ready to land.Dec 20 2021, 5:56 AM This revision was landed with ongoing or failed builds.Dec 20 2021, 7:33 AM Closed by commit rG9cd55c7c3463: Prevent copy of AttrBuilder (authored by serge-sans-paille). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 395446 llvm/include/llvm/IR/Attributes.h
llvm/lib/IR/Verifier.cpp
|
nit: const AttrBuilder & would be more typical.