weiguozhi wrote: > We'd better continus this patch, change the target one by one which is easy to review for each target maintainer. Agree, so I will port the target specific CSRCost scale part to this pr. https://github.com/llvm/llvm-project/pull/188609