[PATCH] D12094: Avoid the propagation of debug locations in SelectionDAG via CSE
Eric Christopher via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 2 18:32:54 PST 2015
echristo added a comment.
One inline comment.
Thanks!
-eric
================
Comment at: lib/CodeGen/SelectionDAG/SelectionDAG.cpp:853
@@ -852,3 +852,3 @@
AddNodeIDCustom(ID, N);
- SDNode *Node = FindNodeOrInsertPos(ID, N->getDebugLoc(), InsertPos);
+ SDNode *Node = FindNodeOrInsertPos(ID, SDLoc(), InsertPos);
return Node;
----------------
I'm unclear why we have a default SDLoc here?
http://reviews.llvm.org/D12094
More information about the llvm-commits
mailing list