This is an archive of the discontinued LLVM Phabricator instance.

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

Repository
rL LLVM

Event Timeline

yaxunl created this revision.Jan 22 2018, 2:08 PM
This revision is now accepted and ready to land.Jan 22 2018, 2:14 PM
This revision was automatically updated to reflect the committed changes.