[Matrix] Refactor tiled loops in a struct. NFC
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>
Wed, 20 Jul 2022 09:12:30 +0000 (11:12 +0200)
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>
Tue, 26 Jul 2022 18:02:22 +0000 (11:02 -0700)
commit2c6e8b4636700f22a76eeda01e4a3258692b80f3
treefc0b4447e6e33a4aa054c14c4b9a0c578e55e05f
parent39d431d81132f9334ed10477e94d9b2f3c9f788d
[Matrix] Refactor tiled loops in a struct. NFC

The three loops have the same structure: index, header, latch.
llvm/include/llvm/Transforms/Utils/MatrixUtils.h
llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
llvm/lib/Transforms/Utils/MatrixUtils.cpp