================
@@ -1564,7 +1660,103 @@ bool IRInterpreter::Interpret(llvm::Module &module, 
llvm::Function &function,
         returnVal = value.GetScalar();
 
         // Push the return value as the result
-        frame.AssignValue(inst, returnVal, module);
+        frame.AssignValue(inst, returnVal, module, exe_ctx);
+      }
+    } break;
+    case Instruction::ExtractElement: {
+      const ExtractElementInst *extract_inst = cast<ExtractElementInst>(inst);
+
+      // Get the vector and index operands
+      const Value *vector_operand = extract_inst->getVectorOperand();
+      const Value *index_operand = extract_inst->getIndexOperand();
----------------
Michael137 wrote:

We probably need nullptr checks here

https://github.com/llvm/llvm-project/pull/155000
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to