[llvm] [RISCV][GISel] Add initial support for rvv intrinsics (PR #156415)
Jon Roelofs via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 3 07:55:47 PDT 2025
================
@@ -24700,6 +24701,12 @@ bool RISCVTargetLowering::fallBackToDAGISel(const Instruction &Inst) const {
Op == Instruction::Freeze || Op == Instruction::Store)
return false;
+ if (auto *II = dyn_cast<IntrinsicInst>(&Inst)) {
+ // Mark RVV intrinsic as supported.
+ if (RISCVVIntrinsicsTable::getRISCVVIntrinsicInfo(II->getIntrinsicID()))
+ return false;
+ }
----------------
jroelofs wrote:
okay to keep them here though, because of the comment.
https://github.com/llvm/llvm-project/pull/156415
More information about the llvm-commits
mailing list