In fact, in unreached code we can say that every fact is true. So do not waste time trying to
do something smarter.
Formally it's not an NFC because it may change query results in unreached code, but they
won't have any impact on execution.
Paths
| Differential D129878
[SCEV][NFC][CT] Do not waste time proving contextual facts for unreached loops and blocks ClosedPublic Authored by mkazantsev on Jul 15 2022, 9:44 AM.
Details Summary In fact, in unreached code we can say that every fact is true. So do not waste time trying to Formally it's not an NFC because it may change query results in unreached code, but they
Diff Detail
Event TimelineComment Actions Not seeing a difference either way from this patch. I don't think that unreachable blocks are common enough to have any meaningful impact on compile-time.
This revision was landed with ongoing or failed builds. Closed by commit rGe0ccd190ae8b: [SCEV][NFC][CT] Do not waste time proving contextual facts for unreached loops… (authored by mkazantsev). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 446113 llvm/lib/Analysis/ScalarEvolution.cpp
|
unreached -> unreachable