ZihengJiang commented on a change in pull request #7084:
URL: https://github.com/apache/tvm/pull/7084#discussion_r540622156
##########
File path: python/tvm/driver/build_module.py
##########
@@ -159,17 +159,27 @@ def lower(sch, args, name="main", binds=None,
simple_mode=False):
lower_phase2 = [x[1] for x in add_lower_pass if x[0] == 2]
lower_phase3 = [x[1] for x in add_lower_pass if x[0] > 2]
+ is_tir_schedule = False
+
# Phase 0
if isinstance(sch, schedule.Schedule):
mod = form_irmodule(sch, args, name, binds)
+ elif isinstance(sch, tvm.tir.PrimFunc):
Review comment:
@tkonolige for building TIR function
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]