[llvm] [Mips] Promote MSA half-vector shuffles to integer vectors (PR #226105)

via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 24 03:13:00 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-mips

Author: Jiaxun Yang (FlyGoat)

<details>
<summary>Changes</summary>

Promote v8f16 VECTOR_SHUFFLE operations to v8i16 to avoid expanding them through EXTRACT_VECTOR_ELT and BUILD_VECTOR with an illegal scalar f16 type.

Fixes: #<!-- -->223618
Assisted-by: Codex # Tests

---
Full diff: https://github.com/llvm/llvm-project/pull/226105.diff


2 Files Affected:

- (modified) llvm/lib/Target/Mips/MipsSEISelLowering.cpp (+4) 
- (added) llvm/test/CodeGen/Mips/msa/f16vec-shuffle.ll (+304) 


``````````diff
The server is unavailable at this time. Please wait a few minutes before you try again.
``````````

</details>


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


More information about the llvm-commits mailing list