This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Fix DAG divergence not reporting flat loads
ClosedPublic

Authored by arsenm on Sep 3 2018, 6:03 AM.

Details

Reviewers
scott.linder
Summary

Match behavior in DAG of r340343

Diff Detail

Event Timeline

arsenm created this revision.Sep 3 2018, 6:03 AM
scott.linder added inline comments.Sep 4 2018, 8:24 AM
test/CodeGen/AMDGPU/dag-divergence.ll
6

What is the extra s here for, the register type? It doesn't seem to match the output without the patch. Maybe s_load{{.*}} s?

arsenm updated this revision to Diff 163875.Sep 4 2018, 11:09 AM

Fix test. It's supposed to skip s_load_dwordx

scott.linder accepted this revision.Sep 4 2018, 11:21 AM

LGTM, thanks!

This revision is now accepted and ready to land.Sep 4 2018, 11:21 AM
arsenm closed this revision.Sep 4 2018, 11:59 AM

r341393