[llvm-branch-commits] [llvm] [LoongArch] Add patterns to support vector type average instructions generation (PR #161079)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Oct 20 02:30:27 PDT 2025


zhaoqi5 wrote:

> We could make these `ISD` legal.
> 
> ```shell
>   AVGFLOORS -> avg
>   AVGFLOORU -> avg.u
>   AVGCEILS -> avgr
>   AVGCEILU -> avgr.u
> ```

Thanks for catching this. More tests should be added. So I'd prefer to do that in a separate commit.

https://github.com/llvm/llvm-project/pull/161079


More information about the llvm-branch-commits mailing list