Use an explicit std::vector instead, to avoid accidentally causing stack overflows
for input with very large CFGs.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 5301 Build 5301: arc lint + arc unit
Paths
| Differential D31681
[ExecutionDepsFix] Don't recurse over the CFG ClosedPublic Authored by loladiro on Apr 4 2017, 3:18 PM.
Details Summary Use an explicit std::vector instead, to avoid accidentally causing stack overflows
Diff Detail
Event Timelinemehdi_amini added inline comments. This revision is now accepted and ready to land.Apr 4 2017, 3:26 PM Closed by commit rL299569: [ExecutionDepsFix] Don't recurse over the CFG (authored by kfischer). · Explain WhyApr 5 2017, 10:55 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 94129 include/llvm/CodeGen/ExecutionDepsFix.h
lib/CodeGen/ExecutionDepsFix.cpp
|
SmallVector?
Worklist or Workqueue seems a more common name for iterative algorithm I think.