Page MenuHomePhabricator

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

Authored by arsenm on Fri, Jan 24, 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