The vector.insert/extract intrinsics require an i64 immediate argument.
This fixes a crash on RV32.
This is an alternative to D128613.
Paths
| Differential D128624
[RISCV] Zero extend immediate for vget/vset builtins to match vector.insert/extract intrinsics. ClosedPublic Authored by craig.topper on Jun 26 2022, 11:37 PM.
Details Summary The vector.insert/extract intrinsics require an i64 immediate argument. This is an alternative to D128613.
Diff Detail
Event Timelinecraig.topper retitled this revision from [RISCV] Zero immediate for vget/vset builtins to match vector.insert/extract intrinsics. to [RISCV] Zero extend immediate for vget/vset builtins to match vector.insert/extract intrinsics..Jun 27 2022, 1:04 PM This revision is now accepted and ready to land.Jun 27 2022, 6:21 PM Closed by commit rG17a36c7c40e9: [RISCV] Zero extend immediate for vget/vset builtins to match vector. (authored by craig.topper). · Explain WhyJun 27 2022, 8:30 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 440459 clang/include/clang/Basic/riscv_vector.td
clang/test/CodeGen/RISCV/rvv-intrinsics/vget.c
clang/test/CodeGen/RISCV/rvv-intrinsics/vset.c
|