Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Lang] Support TensorType for irpass::alg_simp() (#8225)
Issue: # ### Brief Summary <!-- copilot:summary --> ### <samp>🤖 Generated by Copilot at 411b19e</samp> Add a template function `get_const_stmt_with_value` to `taichi/ir/statements.h` that creates IR statements for constants of different types. This is part of improving matrix support in the IR. ### Walkthrough <!-- copilot:walkthrough --> ### <samp>🤖 Generated by Copilot at 411b19e</samp> * Add a new template function `get_const_stmt_with_value` to create constant statements of different types ([link](https://github.com/taichi-dev/taichi/pull/8225/files?diff=unified&w=0#diff-917d9436dcaafa0f1e41ae9bad90273a303f036f00da94e417788a7fa1dc5260R2021-R2050))
- Loading branch information