This is an archive of the discontinued LLVM Phabricator instance.

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

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

Details

Summary

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.Mar 23 2021, 1:47 AM
vinograd47 requested review of this revision.Mar 23 2021, 1:47 AM

Thanks for the cleanup!

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