The GitHub Actions job "Lint" on 
tvm.git/tvm-pr1-collapse-primexpr-typed-view-and-call has failed.
Run started by GitHub user tqchen (triggered by tqchen).

Head commit for run:
b23a1bd04fdc879503e7023e241d6f2c18b18abd / Tianqi Chen 
<[email protected]>
[REFACTOR][IR] Unify PrimExpr with Expr typed view

PrimExpr is now a typed view over Expr values with PrimType results, and Call 
is shared across IR dialects.

Migration guide:

- In C++, narrow a generic Expr with as_or_throw<PrimExpr>(); use direct 
GetRef<PrimExpr> only where the concrete node invariant guarantees a PrimType 
result.

- Construct shared ir::Call with an explicit result Type. Primitive-valued 
calls carry PrimType and can then be viewed as PrimExpr.

- Represent unavailable type information with Type::Missing(), and check 
IsMissing() before typed traversal or narrowing.

- In Python, use tvm.ir.is_prim_expr(value), or an explicit Expr plus PrimType 
check at a deliberate API boundary, instead of nominal PrimExpr isinstance 
checks.

- Store shared expression collections as Expr and perform checked element 
narrowing only at primitive-only consumers; likewise replace visitor and 
overload assumptions tied to a nominal PrimExpr node class.

Report URL: https://github.com/apache/tvm/actions/runs/28488538619

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to