[llvm] [GlobalISel] Import llvm.stepvector (PR #115721)

Thorsten Schütt via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 11 12:17:50 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);
----------------
tschuett wrote:

The difference is probably between LLVM-IR and hardware instructions.

https://github.com/llvm/llvm-project/pull/115721


More information about the llvm-commits mailing list