The pass only uses DT in isPotentiallyReachable, to erase unreachable
resumes. Not having DT available should still produce valid, though
conservative, results.
Instead, only add DT to the pipeline if > CodeGenOpt::None.
Paths
| Differential D31641
[CodeGen] Only require DT in DwarfEHPrepare if > CodeGenOpt::None. Needs ReviewPublic Authored by ab on Apr 3 2017, 7:23 PM. This revision needs review, but there are no reviewers specified.
Details
Summary The pass only uses DT in isPotentiallyReachable, to erase unreachable Instead, only add DT to the pipeline if > CodeGenOpt::None.
Diff Detail Event Timeline
Revision Contents
Diff 93989 lib/CodeGen/DwarfEHPrepare.cpp
lib/CodeGen/TargetPassConfig.cpp
test/CodeGen/X86/O0-pipeline.ll
|