This is an archive of the discontinued LLVM Phabricator instance.

R600/SI: Fix assertion from copying a TargetGlobalAddress
ClosedPublic

Authored by arsenm on Sep 7 2014, 1:07 PM.

Details

Reviewers
arsenm
Summary

Assert in scheduler from an inserted copy_to_regclass from
a constant.

This only seems to break sometimes when a constant initializer
address is forced into VGPRs in a non-entry block. No test
since the only case I've managed to hit only happens with a future
patch, and that case will also not be a problem once SGPRs are
used in non-entry blocks.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 13377.Sep 7 2014, 1:07 PM
arsenm retitled this revision from to R600/SI: Fix assertion from copying a TargetGlobalAddress .
arsenm updated this object.
arsenm edited the test plan for this revision. (Show Details)
arsenm added a subscriber: Unknown Object (MLST).
arsenm accepted this revision.Sep 8 2014, 8:17 AM
arsenm added a reviewer: arsenm.

r217380

This revision is now accepted and ready to land.Sep 8 2014, 8:17 AM
arsenm closed this revision.Sep 8 2014, 8:17 AM