[all-commits] [llvm/llvm-project] 8a7b0d: [mlir] Fully qualify MemoryEffects

zero9178 via All-commits all-commits at lists.llvm.org
Fri Jul 30 09:20:14 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a7b0dad9acea2b4ff29a7a8ec150cad922043e9
      https://github.com/llvm/llvm-project/commit/8a7b0dad9acea2b4ff29a7a8ec150cad922043e9
  Author: Markus Böck <markus.boeck02 at gmail.com>
  Date:   2021-07-30 (Fri, 30 Jul 2021)

  Changed paths:
    M mlir/include/mlir/Interfaces/SideEffectInterfaces.td
    M mlir/test/mlir-tblgen/op-side-effects.td

  Log Message:
  -----------
  [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




More information about the All-commits mailing list