I do not disagree, that is why I think the argument can go both ways.  One pt 
here though is that legalization means we need to recursively call the lowering 
strategy on the return expr of the legalized code, while in the case of 
lowering we do not need to do so.

We could certainly name all the cases `Legalization` and still make things 
work. So it is mainly a technical design tradeoff that we need to make and in 
this case we can see arguments for both sides.





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/is-there-a-difference-between-lower-and-legalize-in-tir/10714/13)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/5ac7d923d21e48c8031a3fe075b2278f73873d02ef9db8111a6d2fc7b1d9ffb8).

Reply via email to