[PATCH] D117558: [AttrBuilder] Change storage to sorted vector
serge via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 18 22:35:15 PST 2022
serge-sans-paille added inline comments.
================
Comment at: llvm/lib/IR/Attributes.cpp:1520
AttrBuilder::AttrBuilder(LLVMContext &Ctx, AttributeSet AS) : Ctx(Ctx) {
+ // AttributeSet attributes are already sorted.
for (const auto &A : AS)
----------------
could be an assert?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117558/new/
https://reviews.llvm.org/D117558
More information about the llvm-commits
mailing list