| 160 | } |
| 161 | |
| 162 | Status IrEmitter::HandleTuple(HloInstruction* tuple) { |
| 163 | std::vector<llvm::Value*> base_ptrs; |
| 164 | for (const HloInstruction* operand : tuple->operands()) { |
| 165 | base_ptrs.push_back(GetBasePointer(*operand)); |
| 166 | } |
| 167 | llvm_ir::EmitTuple(GetIrArray(*tuple, *tuple), base_ptrs, &b_); |
| 168 | return Status::OK(); |
| 169 | } |
| 170 | |
| 171 | Status IrEmitter::EmitCallToNestedComputation( |
| 172 | const HloComputation& nested_computation, |