Skip to content

Commit

Permalink
fix wrong log of tir pass VerifyMemory (apache#8445)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sen Yang authored and ylc committed Sep 29, 2021
1 parent 64cc779 commit cb63245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tir/analysis/verify_memory.cc
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ class MemoryAccessVerifier final : protected StmtExprVisitor {
/// Interface of VerifyMemory pass
std::vector<String> VerifyMemory_(const PrimFunc& func) {
auto target = func->GetAttr<Target>(tvm::attr::kTarget);
ICHECK(target.defined()) << "LowerWarpMemory: Require the target attribute";
ICHECK(target.defined()) << "VerifyMemory: Require the target attribute";

if (func->GetAttr<Integer>(tvm::attr::kCallingConv, Integer(CallingConv::kDefault)) ==
CallingConv::kDefault) {
Expand Down

0 comments on commit cb63245

Please sign in to comment.