[PATCH] D99158: [RISCV][WIP] Implement intrinsics for P extension
Craig Topper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 16 09:26:08 PDT 2021
craig.topper added inline comments.
================
Comment at: llvm/test/CodeGen/RISCV/rvp/intrinsics-rv32p.ll:25
+ %1 = bitcast i32 %b.coerce to <4 x i8>
+ %2 = tail call <4 x i8> @llvm.riscv.add8.v4i8(<4 x i8> %0, <4 x i8> %1)
+ %3 = bitcast <4 x i8> %2 to i32
----------------
I'm still not clear why we need to have two different ways to do the same operation. Why isn't the C interface all scalar types or all vector types? How do users choose which interface to use?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99158/new/
https://reviews.llvm.org/D99158
More information about the cfe-commits
mailing list