-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathllvm-main-minotaur.patch
More file actions
38 lines (33 loc) · 1016 Bytes
/
llvm-main-minotaur.patch
File metadata and controls
38 lines (33 loc) · 1016 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
diff --git a/llvm/lib/IR/AsmWriter.cpp b/llvm/lib/IR/AsmWriter.cpp
index 5cf9532a988f..5b128263f8fe 100644
--- a/llvm/lib/IR/AsmWriter.cpp
+++ b/llvm/lib/IR/AsmWriter.cpp
@@ -3091,7 +3091,7 @@ void AssemblyWriter::printModule(const Module *M) {
if (ShouldPreserveUseListOrder)
UseListOrders = predictUseListOrder(M);
-
+/*
if (!M->getModuleIdentifier().empty() &&
// Don't print the ID if it will start a new line (which would
// require a comment char before it).
@@ -3126,6 +3126,7 @@ void AssemblyWriter::printModule(const Module *M) {
Out << "\"\n";
} while (!Asm.empty());
}
+ */
printTypeIdentities();
@@ -4294,7 +4295,7 @@ void AssemblyWriter::printBasicBlock(const BasicBlock *BB) {
else
Out << "<badref>:";
}
-
+#if false
if (!IsEntryBlock) {
// Output predecessors for the block.
Out.PadToColumn(50);
@@ -4310,6 +4311,7 @@ void AssemblyWriter::printBasicBlock(const BasicBlock *BB) {
}
}
}
+#endif
Out << "\n";