[Lldb-commits] [lldb] [lldb] Add some vector operations to the IRInterpreter (PR #155000)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Thu Sep 4 23:58:47 PDT 2025
================
@@ -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
More information about the lldb-commits
mailing list