Reply to http://reviews.llvm.org/D18341
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM anyway
lib/Transforms/Instrumentation/SanitizerCoverage.cpp | ||
---|---|---|
319 ↗ | (On Diff #51443) | Reverse logic is still better :-) static bool isNotFullDominator(const BasicBlock *BB, const DominatorTree *DT) { for (const BasicBlock *SUCC : make_range(succ_begin(BB), succ_end(BB))) { if (!DT->dominates(BB, SUCC)) return true; } return false; } |
350 ↗ | (On Diff #51443) | return isNotFullDominator() && isNotFullPostDominator(); |