[llvm-branch-commits] [llvm] [KeyInstr][Inline] Don't propagate atoms to inlined nodebug instructions (PR #133485)

Stephen Tozer via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Apr 9 06:35:25 PDT 2025


================
@@ -2145,6 +2145,13 @@ class DILocation : public MDNode {
     return 0;
   }
 
+  const DILocation *getOrCloneWithoutAtom() const {
----------------
SLTozer wrote:

I think this could just be "getWithoutAtom", it's already implied with DIMetadata that "get" means "find me an existing metadata or create a new one".

https://github.com/llvm/llvm-project/pull/133485


More information about the llvm-branch-commits mailing list