Commit 8a98f24e authored by wangpc's avatar wangpc
Browse files

[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
parent fda9a9c6
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment