[llvm] [SandboxIR] Implement the InsertElementInst class (PR #102404)

Jorge Gorbe Moya via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 8 14:31:15 PDT 2024


================
@@ -753,6 +755,48 @@ class SelectInst : public Instruction {
 #endif
 };
 
+class InsertElementInst final : public Instruction {
+  /// Use Context::createInsertElementInst(). Don't call
+  /// the constructor directly.
+  InsertElementInst(llvm::Instruction *I, Context &Ctx)
+      : Instruction(ClassID::InsertElement, Opcode::InsertElement, I, Ctx) {}
+  InsertElementInst(ClassID SubclassID, llvm::Instruction *I, Context &Ctx)
----------------
slackito wrote:

Dropped it.

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


More information about the llvm-commits mailing list