[llvm] [GlobalISel] Import llvm.stepvector (PR #115721)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 11 11:59:52 PST 2024
================
@@ -2597,6 +2597,10 @@ bool IRTranslator::translateKnownIntrinsic(const CallInst &CI, Intrinsic::ID ID,
return translateExtractVector(CI, MIRBuilder);
case Intrinsic::vector_insert:
return translateInsertVector(CI, MIRBuilder);
+ case Intrinsic::stepvector: {
+ MIRBuilder.buildStepVector(getOrCreateVReg(CI), 1);
----------------
arsenm wrote:
Not sure why this has an operand the intrinsic doesn't but it's already that way. I'm confused by the DAG API, it's one level removed but doing the same thing
https://github.com/llvm/llvm-project/pull/115721
More information about the llvm-commits
mailing list