Loading mlir/parsers/qasm3/visitor_handlers/subroutine_handler.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -88,7 +88,7 @@ antlrcpp::Any qasm3_visitor::visitSubroutineDefinition( llvm::ArrayRef<int64_t> shaperef{}; mlir_type = mlir::MemRefType::get(shaperef, builder.getIntegerType(bit_size)); argument_types.push_back(builder.getIntegerType(bit_size)); argument_types.push_back(mlir_type); } else if (type.find("float") != std::string::npos) { auto start = type.find_first_of("["); auto finish = type.find_first_of("]"); Loading mlir/qir_qrt/qir-qrt.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -333,7 +333,7 @@ void __quantum__rt__end_ctrl_u_region(Qubit * ctrl_qbit) { std::make_pair("control-idx", ctrlIdx), }); std::cout << "Running Ctrl on " << ctrlIdx << ":\n" << ctrlKernel->toString() << "\n"; // std::cout << "Running Ctrl on " << ctrlIdx << ":\n" << ctrlKernel->toString() << "\n"; for (int instId = 0; instId < ctrlKernel->nInstructions(); ++instId) { ::quantum::qrt_impl->general_instruction( ctrlKernel->getInstruction(instId)); Loading Loading
mlir/parsers/qasm3/visitor_handlers/subroutine_handler.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -88,7 +88,7 @@ antlrcpp::Any qasm3_visitor::visitSubroutineDefinition( llvm::ArrayRef<int64_t> shaperef{}; mlir_type = mlir::MemRefType::get(shaperef, builder.getIntegerType(bit_size)); argument_types.push_back(builder.getIntegerType(bit_size)); argument_types.push_back(mlir_type); } else if (type.find("float") != std::string::npos) { auto start = type.find_first_of("["); auto finish = type.find_first_of("]"); Loading
mlir/qir_qrt/qir-qrt.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -333,7 +333,7 @@ void __quantum__rt__end_ctrl_u_region(Qubit * ctrl_qbit) { std::make_pair("control-idx", ctrlIdx), }); std::cout << "Running Ctrl on " << ctrlIdx << ":\n" << ctrlKernel->toString() << "\n"; // std::cout << "Running Ctrl on " << ctrlIdx << ":\n" << ctrlKernel->toString() << "\n"; for (int instId = 0; instId < ctrlKernel->nInstructions(); ++instId) { ::quantum::qrt_impl->general_instruction( ctrlKernel->getInstruction(instId)); Loading