[PATCH] D48666: [ScheduleDAG] Fix unfolding of SUnits to already existent nodes.
Nirav Dave via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 27 12:13:30 PDT 2018
niravd created this revision.
niravd added reviewers: davide, eli.friedman, fhahn, bogner.
Herald added subscribers: hiraditya, MatzeB.
If unfolding an SUnit results in both load or the operation using it which
already exist in the DAG, abort the unfold if they are already scheduled.
If not, make sure we don't add duplicate dependencies.
This fixes PR37916.
Repository:
rL LLVM
https://reviews.llvm.org/D48666
Files:
llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
llvm/test/CodeGen/X86/pr37916.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48666.153150.patch
Type: text/x-patch
Size: 3980 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180627/9aee4b75/attachment.bin>
More information about the llvm-commits
mailing list