[llvm] [SandboxIR] Implement the InsertElementInst class (PR #102404)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 7 17:11:35 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)
----------------
vporpo wrote:
Hmm is this constructor used? I think we could drop it.
https://github.com/llvm/llvm-project/pull/102404
More information about the llvm-commits
mailing list