[PATCH] D74253: SelectionDAG: Fix bug in ClusterNeighboringLoads
Nicolai Hähnle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 12 00:15:58 PST 2020
nhaehnle marked an inline comment as done.
nhaehnle added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp:238
+ if (I.getUse().getResNo() != Chain.getResNo())
+ continue;
+
----------------
foad wrote:
> Is there no slicker way of iterating the uses of an SDValue, without having to manually check getResNo() each time?
I looked for it, but apparently not :/
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74253/new/
https://reviews.llvm.org/D74253
More information about the llvm-commits
mailing list