[all-commits] [llvm/llvm-project] 8a98f2: [RISCV] Truncate constants to EltSize when combine...
Wang Pengcheng via All-commits
all-commits at lists.llvm.org
Sun Aug 13 19:56:44 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8a98f24ec51ea12a50f1e63dd030482e387534a1
https://github.com/llvm/llvm-project/commit/8a98f24ec51ea12a50f1e63dd030482e387534a1
Author: wangpc <wangpengcheng.pp at bytedance.com>
Date: 2023-08-14 (Mon, 14 Aug 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
A llvm/test/CodeGen/RISCV/rvv/pr64588.ll
Log Message:
-----------
[RISCV] Truncate constants to EltSize when combine store of BUILD_VECTOR
The constants can be with larger bit width, so we need to truncate
them to EltSize or we will exceed the width of fixed-length vector.
Fixes #64588
Reviewed By: luke, craig.topper, bjope, michaelmaitland
Differential Revision: https://reviews.llvm.org/D157603
More information about the All-commits
mailing list