Fix a bug in ScheduleDAGMILive::scheduleMI which causes BotRPTracker not tracking CurrentBottom in some rare cases involving llvm.dbg.value.
This issues causes amdgcn target to assert when compiling some user codes with -g.
Paths
| Differential D42394
CodeGen: Fix assertion in ScheduleDAGMILive::scheduleMI due to llvm.dbg.value ClosedPublic Authored by yaxunl on Jan 22 2018, 2:08 PM.
Details Summary Fix a bug in ScheduleDAGMILive::scheduleMI which causes BotRPTracker not tracking CurrentBottom in some rare cases involving llvm.dbg.value. This issues causes amdgcn target to assert when compiling some user codes with -g.
Diff Detail
Event TimelineHerald added subscribers: javed.absar, nhaehnle, wdng, MatzeB. · View Herald TranscriptJan 22 2018, 2:08 PM This revision is now accepted and ready to land.Jan 22 2018, 2:14 PM Closed by commit rL323214: CodeGen: Fix assertion in ScheduleDAGMILive::scheduleMI due to llvm.dbg.value (authored by yaxunl). · Explain WhyJan 23 2018, 8:07 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 131079 llvm/trunk/lib/CodeGen/MachineScheduler.cpp
llvm/trunk/test/CodeGen/AMDGPU/debug-value2.ll
|