This patch adds an option to lookupAAFor that allows it to return a
nullptr if the state of the looked up attribute is invalid. This is so
future passes can use this to query other attributes with the guarantee
that they are valid.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LG, one nit
llvm/include/llvm/Transforms/IPO/Attributor.h | ||
---|---|---|
1140–1141 | /* AllowInvalidState */ |
/* AllowInvalidState */