This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Fix infinite loop with dbg_value
ClosedPublic

Authored by arsenm on Dec 4 2017, 7:01 PM.

Details

Reviewers
rampitec
Summary

Surprisingly SIOptimizeExecMaskingPreRA can infinite loop
in some case with DBG_VALUE. Most tests using dbg_value are
run at -O0, so don't run this pass. This seems to only
happen when the value argument is undef.

Diff Detail

Event Timeline

arsenm created this revision.Dec 4 2017, 7:01 PM
rampitec accepted this revision.Dec 4 2017, 9:39 PM

LGTM

This revision is now accepted and ready to land.Dec 4 2017, 9:39 PM
arsenm closed this revision.Dec 5 2017, 10:23 AM

r319808