[PATCH] D103556: [Attributor] Allow lookupAAFor to return null on invalid state
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 4 07:12:19 PDT 2021
jdoerfert accepted this revision.
jdoerfert added a comment.
This revision is now accepted and ready to land.
LG, one nit
================
Comment at: llvm/include/llvm/Transforms/IPO/Attributor.h:1140
- if (AAType *AAPtr = lookupAAFor<AAType>(IRP, QueryingAA, DepClass)) {
+ if (AAType *AAPtr = lookupAAFor<AAType>(IRP, QueryingAA, DepClass, true)) {
if (ForceUpdate && Phase == AttributorPhase::UPDATE)
----------------
`/* AllowInvalidState */`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103556/new/
https://reviews.llvm.org/D103556
More information about the llvm-commits
mailing list