diff mlir/unittests/Interfaces/DataLayoutInterfacesTest.cpp @ 223:5f17cb93ff66 llvm-original

LLVM13 (2021/7/18)
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 18 Jul 2021 22:43:00 +0900
parents 79ff65ed7e25
children c4bab56944e8
line wrap: on
line diff
--- a/mlir/unittests/Interfaces/DataLayoutInterfacesTest.cpp	Sun Jul 18 22:10:01 2021 +0900
+++ b/mlir/unittests/Interfaces/DataLayoutInterfacesTest.cpp	Sun Jul 18 22:43:00 2021 +0900
@@ -114,6 +114,7 @@
 /// types itself.
 struct OpWithLayout : public Op<OpWithLayout, DataLayoutOpInterface::Trait> {
   using Op::Op;
+  static ArrayRef<StringRef> getAttributeNames() { return {}; }
 
   static StringRef getOperationName() { return "dltest.op_with_layout"; }
 
@@ -156,6 +157,7 @@
 struct OpWith7BitByte
     : public Op<OpWith7BitByte, DataLayoutOpInterface::Trait> {
   using Op::Op;
+  static ArrayRef<StringRef> getAttributeNames() { return {}; }
 
   static StringRef getOperationName() { return "dltest.op_with_7bit_byte"; }