Implements better naming for results of spv.mlir.addressof ops by making it
inherit from OpAsmOpInterface and implementing the associated
getAsmResultName(...) hook.
Details
Details
Diff Detail
Diff Detail
- Repository
 - rG LLVM Github Monorepo
 
Paths 
  |  Differential  D103594  
[MLIR][SPIRV] Use getAsmResultName(...) hook for AddressOfOp. ClosedPublic Authored by ergawy on Jun 3 2021, 1:02 AM. 
Details Summary Implements better naming for results of spv.mlir.addressof ops by making it 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Jun 4 2021, 8:03 AM Closed by commit rG2def12ebc6cc: [MLIR][SPIRV] Use getAsmResultName(...) hook for AddressOfOp. (authored by KareemErgawy <kareem.ergawy@tomtom.com>).  ·  Explain WhyJun 7 2021, 4:59 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 349475 mlir/include/mlir/Dialect/SPIRV/IR/SPIRVStructureOps.td
 mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
 mlir/test/Dialect/SPIRV/IR/asm-op-interface.mlir
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||