commit | 2404506e324d2c0be3a23ef585e12d54c4844eeb | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Thu Dec 06 23:53:58 2018 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Thu Dec 06 23:53:58 2018 +0000 |
tree | b0f0065f9ceea710f9f382d74c678ab40f5be970 | |
parent | e5cd92a046c4e3f4ac111470790f3427afdfdc1b [diff] |
[DAGCombiner] don't bother saving a SDLoc for a node that's dead; NFCI We shouldn't care about the debug location for a node that we're creating, but attaching the root of the pattern should be the best effort. (If this is not true, then we are doing it wrong all over the SDAG). This is no-functional-change-intended, and there are no regression test diffs...and that's what I expected. But there's a similar line above this diff, where those assumptions apparently do not hold.