llvm/llvm-project

[mlir][Vector] Improve support for 0-d vectors in vector dialect lowerings

Open

#112,913 opened on 2024年10月18日

GitHub で見る
 (6 comments) (0 reactions) (1 assignee)C++ (10,782 forks)batch import
good first issuemlir:vector

Repository metrics

Stars
 (26,378 stars)
PR merge metrics
 (平均マージ 1d 2h) (30d で 1,000 merged PRs)

説明

A number of patterns in vector dialect lowerings predate 0-d vector support and side step from 0-d vectors by converting them to scalars and then broadcasting them. An example patch fixing this: https://github.com/llvm/llvm-project/pull/112907

Some example issues:

I have tested removing these, and the llvm ir generated from llvm.store with 0-d vectors is correct. (Good first issue)

コントリビューターガイド