mirror of
https://github.com/intel/llvm.git
synced 2026-02-06 06:31:50 +08:00
Outline the code that generates the loop structure to iterate over a dense tensor or a sparse constant to genDenseTensorOrSparseConstantIterLoop. Move a few routines to CodegenUtils for sharing. Reviewed By: wrengr Differential Revision: https://reviews.llvm.org/D136210