[all-commits] [llvm/llvm-project] 9b81db: [RISCV] Use source element type for the zero const...
Craig Topper via All-commits
all-commits at lists.llvm.org
Thu Jul 10 22:40:05 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9b81db7b32f20d27e544c53512f9c3a4bc6bf871
https://github.com/llvm/llvm-project/commit/9b81db7b32f20d27e544c53512f9c3a4bc6bf871
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-07-10 (Thu, 10 Jul 2025)
Changed paths:
M clang/include/clang/Basic/riscv_vector.td
M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/vwcvt.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/vwcvtu.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/vwcvt.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/vwcvtu.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/vwcvt.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/vwcvtu.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/vwcvt.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/vwcvtu.c
Log Message:
-----------
[RISCV] Use source element type for the zero constant in IR for vwcvt intrinsic. (#148023)
The vwcvt intrinsic produces a vwadd with a scalar 0 for the RHS. We
should be using the element type of the source so that the 0 needs to be
widened.
The i32->i64 vwcvt previously failed on RV32 because the legalization
code doesn't expect to see an i64 type.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list