Page MenuHomePhabricator

[mlir][NFC] Replace `getMemorySpaceAsInt` with `getMemorySpace` where possible

Authored by vinograd47 on Tue, Mar 23, 1:47 AM.



Use new MemRefType::getMemorySpace method with generic Attribute
in cases, where there is no specific logic around the memory space.

Diff Detail

Event Timeline

vinograd47 created this revision.Tue, Mar 23, 1:47 AM
vinograd47 requested review of this revision.Tue, Mar 23, 1:47 AM

Thanks for the cleanup!

rriddle accepted this revision.Tue, Mar 23, 5:05 PM
This revision is now accepted and ready to land.Tue, Mar 23, 5:05 PM