Inductor: Codegen for sympy Trunc is incorrect #126537
Labels
module: dynamic shapes
module: inductor
oncall: pt2
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
馃悰 Describe the bug
I'm working on a general refactor that's going to fix this, but this was a really clean test case that I wanted to file for posterity.
This program:
prints
The problem is:
trunc on float inputs should not convert to index type
Versions
main
cc @msaroufim @bdhirsh @anijain2305 @chauhang @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @peterbell10 @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire
The text was updated successfully, but these errors were encountered: