[mlir] Fully qualify MemoryEffects
authorMarkus Böck <markus.boeck02@gmail.com>
Fri, 30 Jul 2021 16:19:30 +0000 (18:19 +0200)
committerMarkus Böck <markus.boeck02@gmail.com>
Fri, 30 Jul 2021 16:20:06 +0000 (18:20 +0200)
commit8a7b0dad9acea2b4ff29a7a8ec150cad922043e9
tree0454f2a5f1bbd441d9b13772ad2e125a08ddec0e
parent9ca905b52d53c46aceb4d28e44dfbf4a815d0c68
[mlir] Fully qualify MemoryEffects

The effect name is used by tablegen when generating the getEffects method of the SideEffectInterfaces. It is currently unqualified even though the class is contained within the mlir namespace, leading to compiler errors when using namespace mlir; isn't used before including the generated cpp file.

This patch fixes that by simply fully qualifying the class name.

Differential Revision: https://reviews.llvm.org/D107171
mlir/include/mlir/Interfaces/SideEffectInterfaces.td
mlir/test/mlir-tblgen/op-side-effects.td