Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

[MLIR][SPIR-V] Switch MemRefType memory space to richer attribute mechanism #48476

Open Quuxplusone opened 3 years ago

Quuxplusone commented 3 years ago
Bugzilla Link PR49507
Status NEW
Importance P enhancement
Reported by Vladislav Vinogradov (vlad.vinogradov47@gmail.com)
Reported on 2021-03-10 02:15:48 -0800
Last modified on 2021-03-10 07:20:18 -0800
Version unspecified
Hardware All All
CC
Fixed by commit(s)
Attachments
Blocks
Blocked by
See also PR49506

Recently the new feature was landed: Model MemRefType memory space as Attribute (https://reviews.llvm.org/D96145). It allows to use more descriptive type for memory space instead of raw integer. SPIR-V Dialect can leverage this feature to directly use "local", "private", "global" memory spaces as strings/enums instead of mapping to/from raw integers.

Quuxplusone commented 3 years ago

Awesome, thanks for enabling this, Vladislav! Will do.