nod-ai / iree-amd-aie

IREE plugin repository for the AMD AIE accelerator
Apache License 2.0
69 stars 30 forks source link

Move most of LLVM lowering out of aie2xclbin #838

Closed newling closed 1 month ago

newling commented 1 month ago

Builds on top of https://github.com/nod-ai/iree-amd-aie/pull/836 (that PR included in this PR) Is a continuation of https://github.com/nod-ai/iree-amd-aie/commit/be42d1918f43ed04595a1384cd9274305e42f961 -- it that PR we moved vector->aievec into the main pipeline, this PR moves aievec->llvm into the main pipeline (and a few other dialect lowerings to llvm). Moving the lowering of func too llvm is tricky, because of the position of the pass AMDAIECoreToStandardFunc which lowers from CoreOp to func.