This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Fix not using global atomics on gfx9+
ClosedPublic

Authored by arsenm on Jan 24 2020, 9:02 AM.

Details

Summary

For some reason the flat/global atomics end up in the generated
matcher table in a different order from SelectionDAG. Use
AddedComplexity to prefer checking for global atomics first.

Diff Detail