[Mlir-commits] [mlir] 438f700 - [mlir] Fix gcc-5 build in ViewOpGraph.cpp

Matthias Springer llvmlistbot at llvm.org
Wed Aug 4 06:54:53 PDT 2021


Author: Matthias Springer
Date: 2021-08-04T22:49:34+09:00
New Revision: 438f700b4d9e4fca1fd6fd932e53ac8ef1ec15ca

URL: https://github.com/llvm/llvm-project/commit/438f700b4d9e4fca1fd6fd932e53ac8ef1ec15ca
DIFF: https://github.com/llvm/llvm-project/commit/438f700b4d9e4fca1fd6fd932e53ac8ef1ec15ca.diff

LOG: [mlir] Fix gcc-5 build in ViewOpGraph.cpp

Differential Revision: https://reviews.llvm.org/D107458

Added: 
    

Modified: 
    mlir/lib/Transforms/ViewOpGraph.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Transforms/ViewOpGraph.cpp b/mlir/lib/Transforms/ViewOpGraph.cpp
index 4545725d8e2e..199c5a330090 100644
--- a/mlir/lib/Transforms/ViewOpGraph.cpp
+++ b/mlir/lib/Transforms/ViewOpGraph.cpp
@@ -120,7 +120,7 @@ class PrintOpPass : public ViewOpGraphPassBase<PrintOpPass> {
   void emitAttrList(raw_ostream &os, const AttributeMap &map) {
     os << "[";
     interleaveComma(map, os, [&](const auto &it) {
-      os << attrStmt(it.getKey(), it.getValue());
+      os << this->attrStmt(it.getKey(), it.getValue());
     });
     os << "]";
   }


        


More information about the Mlir-commits mailing list