diff options
author | Nirav Dave <niravd@google.com> | 2018-07-18 18:01:03 +0000 |
---|---|---|
committer | Nirav Dave <niravd@google.com> | 2018-07-18 18:01:03 +0000 |
commit | a747d3ca6011db00cb21489d1a4fa8b6cbcd2878 (patch) | |
tree | 56f518622d5af7bf1770c900fbe160727f27aac0 /llvm/lib/Support/APInt.cpp | |
parent | 6e13790801ea0df65fe62e91f53944d2705120da (diff) | |
download | bcm5719-llvm-a747d3ca6011db00cb21489d1a4fa8b6cbcd2878.tar.gz bcm5719-llvm-a747d3ca6011db00cb21489d1a4fa8b6cbcd2878.zip |
[ScheduleDAG] Fix unfolding of SUnits to already existent nodes.
Summary:
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.
Reviewers: davide, eli.friedman, fhahn, bogner
Subscribers: MatzeB, hiraditya, llvm-commits
Differential Revision: https://reviews.llvm.org/D48666
llvm-svn: 337409
Diffstat (limited to 'llvm/lib/Support/APInt.cpp')
0 files changed, 0 insertions, 0 deletions