# Handling of \`prefetch\` (legalization/lowering)

**URL:** <https://discuss.tvm.apache.org/t/handling-of-prefetch-legalization-lowering/10718>\
**Category:** Development\
**Created:** [August 5, 2021, 9:59pm UTC](https://discuss.tvm.apache.org/t/handling-of-prefetch-legalization-lowering/10718 "2021-08-05T21:59:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![vinx13](https://discuss.tvm.apache.org/user_avatar/discuss.tvm.apache.org/vinx13/32/121_2.png) [@vinx13](https://discuss.tvm.apache.org/u/vinx13)\
**Post date:** [August 5, 2021, 10:25pm UTC](https://discuss.tvm.apache.org/t/handling-of-prefetch-legalization-lowering/10718/2 "2021-08-05T22:25:49Z")

</div>

I recently encountered similar issues. We can extent legalization/lowering to match this pattern `Evaluate(call_intrin))` and lower them to `Stmt`

---

_[View the full topic](https://discuss.tvm.apache.org/t/handling-of-prefetch-legalization-lowering/10718)._
