fix % repeat in IR print

This commit is contained in:
rain2133
2025-06-23 00:22:15 +08:00
parent 496e2abfb6
commit 9d8930f5df
5 changed files with 13 additions and 13 deletions

View File

@@ -11,9 +11,7 @@ void SysYPrinter::printIR() {
const auto &functions = pModule->getFunctions();
// Print target datalayout and triple (minimal required by LLVM)
std::cout << "target datalayout = \"e-m:e-p270:32:32-p271:32:32-p272:64:64-f64:32:64-f80:32-n8:16:32-S128\"\n";
std::cout << "target triple = \"i386-pc-linux-gnu\"\n\n";
//TODO: Print target datalayout and triple (minimal required by LLVM)
printGlobalVariable();