This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/SI: Fix regression with no-return atomics
ClosedPublic

Authored by nhaehnle on Apr 12 2016, 5:48 PM.

Details

Summary

In the added test-case, the atomic instruction feeds into a non-machine
CopyToReg node which hasn't been selected yet, so guard against
non-machine opcodes here.

Diff Detail

Repository
rL LLVM

Event Timeline

nhaehnle updated this revision to Diff 53503.Apr 12 2016, 5:48 PM
nhaehnle retitled this revision from to AMDGPU/SI: Fix regression with no-return atomics.
nhaehnle updated this object.
nhaehnle added reviewers: arsenm, tstellarAMD.
nhaehnle added a subscriber: llvm-commits.
arsenm accepted this revision.Apr 12 2016, 5:53 PM
arsenm edited edge metadata.

LGTM

This revision is now accepted and ready to land.Apr 12 2016, 5:53 PM
This revision was automatically updated to reflect the committed changes.