[llvm] Update AsmWriter.cpp - Printing comment with Name in IR (PR #78851)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 20 07:04:36 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-ir
Author: None (sabari-madhu)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/78851.diff
1 Files Affected:
- (modified) llvm/lib/IR/AsmWriter.cpp (+2)
``````````diff
diff --git a/llvm/lib/IR/AsmWriter.cpp b/llvm/lib/IR/AsmWriter.cpp
index 3c15784a0ed5eb..2c3929650dc3b3 100644
--- a/llvm/lib/IR/AsmWriter.cpp
+++ b/llvm/lib/IR/AsmWriter.cpp
@@ -2858,6 +2858,8 @@ void AssemblyWriter::printModule(const Module *M) {
Out << "\"\n";
}
+ Out << "\n\n ; Testing to print my name : Sabari\n\n";
+
const std::string &DL = M->getDataLayoutStr();
if (!DL.empty())
Out << "target datalayout = \"" << DL << "\"\n";
``````````
</details>
https://github.com/llvm/llvm-project/pull/78851
More information about the llvm-commits
mailing list