This is basically a copy and paste of the same logic we do in
computeKnownBits but adapts it for just isKnownNonZero.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Analysis/ValueTracking.cpp | ||
---|---|---|
2735 | This is cut/paste from the knownbits codes. Would rather just add NFC follow up to both of these two update to less confusing logic (and will do so unless you object). |
if (TrueSucc != FalseSucc) would be less confusing, I think?