qzylalala opened a new issue, #15085: URL: https://github.com/apache/tvm/issues/15085
Thanks for participating in the TVM community! We use https://discuss.tvm.ai for any general usage questions and discussions. The issue tracker is used for actionable items such as feature proposals discussion, roadmaps, and bug tracking. You are always welcomed to post on the forum first :smile_cat: Issues that are inactive for a period of time may get closed. We adopt this policy so that we won't lose track of actionable issues that may fall at the bottom of the pile. Feel free to reopen a new one if you feel there is an additional problem that needs attention when an old one gets closed. ### Expected behavior Get schedule `s` ### Actual behavior ``` 16:45:36] /home/XXX/work_space/tvm/src/ir/transform.cc:440: Running pass tir.Filter [16:45:36] /home/XXX/work_space/tvm/src/ir/transform.cc:440: Running pass tir.BindTarget [16:45:36] /home/XXX/work_space/tvm/src/ir/transform.cc:440: Running pass tir.LowerTVMBuiltin [16:45:36] /home/XXX/work_space/tvm/src/ir/transform.cc:440: Running pass tir.LowerCustomDatatypes [16:45:36] /home/XXX/work_space/tvm/src/ir/transform.cc:440: Running pass tir.LowerIntrin [16:45:36] /home/XXX/work_space/tvm/src/ir/transform.cc:440: Running pass tir.LowerDeviceStorageAccessInfo [16:45:36] /home/XXX/work_space/tvm/src/ir/transform.cc:440: Running pass tir.CombineContextCall [16:45:36] /home/XXX/work_space/tvm/src/ir/transform.cc:440: Running pass tir.Filter [16:45:36] /home/XXX/work_space/tvm/src/ir/transform.cc:440: Running pass tir.BindTarget [16:45:36] /home/XXX/work_space/tvm/src/ir/transform.cc:440: Running pass tir.LowerWarpMemory [16:45:36] /home/XXX/work_space/tvm/src/ir/transform.cc:440: Running pass tir.Simplify [16:45:36] /home/XXX/work_space/tvm/src/ir/transform.cc:440: Running pass tir.LowerCustomDatatypes [16:45:36] /home/XXX/work_space/tvm/src/ir/transform.cc:440: Running pass tir.LowerDeviceStorageAccessInfo [16:45:36] /home/XXX/work_space/tvm/src/ir/transform.cc:440: Running pass tir.LowerIntrin [1] 30284 segmentation fault (core dumped) python te.py ``` And when I debuged, I found that it got an error at this line https://github.com/apache/tvm/blob/6c6ad6c43ad3cb378866683ed322316b173267aa/src/target/llvm/codegen_llvm.cc#L724 ### Environment Operating System: Ubuntu1804 TVM version: Latet LLVM: llvm-17 ### Steps to reproduce ``` import tvm import tvm.testing from tvm import te import numpy as np tgt = tvm.target.Target(target="llvm") n = te.var("n") A = te.placeholder((n,), name="A") B = te.placeholder((n,), name="B") C = te.compute(A.shape, lambda i: A[i] + B[i], name="C") s = te.create_schedule(C.op) fadd = tvm.build(s, [A, B, C], tgt, name="myadd") ``` ### Triage Please refer to the list of label tags [here](https://github.com/apache/tvm/wiki/Issue-Triage-Labels) to find the relevant tags and add them below in a bullet format (example below). * needs-triage -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
