GPUOpen-Drivers / llvm-dialects

LLVM Dialects Library
Apache License 2.0
22 stars 22 forks source link

Remove support for multi-op OpDescriptions. #72

Open tsymalla opened 11 months ago

tsymalla commented 11 months ago

OpSet and OpMap only support querying of single-opcode OpDescriptions. This change modifies OpDescription to only allow storing a single operation, while OpSet becomes the first-class citizen for storing operand sets. This change also adds some missing Visitor implementations to make working with the Visitor and the OpSet more pleasant.