[llvm] [EarlyCSE] De-Duplicate callsites with differing attrs (PR #110929)

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 3 07:29:09 PDT 2024


================
@@ -1632,6 +1632,9 @@ bool EarlyCSE::processNode(DomTreeNode *Node) {
           LLVM_DEBUG(dbgs() << "Skipping due to debug counter\n");
           continue;
         }
+
+        // Potential TODO: We may be throwing away attribute information when
+        // we delete Inst that we could propagate too InVal.first.
----------------
goldsteinn wrote:

Okay, I can see that argument for return values, but for param or fn?

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


More information about the llvm-commits mailing list