[PATCH] D59918: [Attributor] Pass infrastructure and fixpoint framework
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 28 15:39:22 PDT 2019
jdoerfert marked an inline comment as done.
jdoerfert added inline comments.
Comment at: llvm/include/llvm/Transforms/IPO/Attributor.h:179
+ assert(AAType::ID != Attribute::None &&
+ "Cannot lookup generic abstract attributes!");
I'm actually not happy anymore with the fact that AAType::ID is supposed to be of `AttributeKind` type because of string attributes. Since it is an integer in the maps already we can work around that but proposals to change this are welcome.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the llvm-commits