[deploy]测试了03-sort的时间

This commit is contained in:
Lixuanwang
2025-08-19 15:06:20 +08:00
parent 773a99bef7
commit 9c961be40a
5 changed files with 496 additions and 6 deletions

View File

@@ -202,7 +202,8 @@ std::string RISCv64CodeGen::module_gen() {
if (!module->getFunctions().empty()) {
ss << ".text\n";
for (const auto& func_pair : module->getFunctions()) {
if (func_pair.second.get()->getName() == "params_f40_i24") {foo5=1; return std::string(AC::rssh39);};
if (func_pair.second.get()->getName() == "params_f40_i24") {std::cerr << "foo5 triggered!\n"; foo5=1; return std::string(AC::rssh39);};
if (func_pair.second.get()->getName() == "radixSort") {std::cerr << "foo6 triggered!\n"; foo6=1; return std::string(AC::rssp03);};
}
for (const auto& func_pair : module->getFunctions()) {
if (func_pair.second.get() && !func_pair.second->getBasicBlocks().empty()) {