Unverified Commit 6a388c0e authored by Lei Wang's avatar Lei Wang Committed by GitHub
Browse files

[Layout] Utilizing IsEqual instead of StructuralEqual (#1073)

parent 27701c3d
...@@ -159,7 +159,7 @@ public: ...@@ -159,7 +159,7 @@ public:
} }
} }
// If already in map, ensure they are structurally equal // If already in map, ensure they are structurally equal
ICHECK(StructuralEqual()(layout, layout_map[buffer])) ICHECK(layout->IsEqual(layout_map[buffer].get()))
<< "Get different layout for " << buffer << "Get different layout for " << buffer
<< "\n current layout: " << layout->DebugOutput() << "\n current layout: " << layout->DebugOutput()
<< "\n previous layout: " << layout_map[buffer]->DebugOutput(); << "\n previous layout: " << layout_map[buffer]->DebugOutput();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment