summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/StringRef.cpp
diff options
context:
space:
mode:
authorMikael Holmen <mikael.holmen@ericsson.com>2017-01-19 13:55:55 +0000
committerMikael Holmen <mikael.holmen@ericsson.com>2017-01-19 13:55:55 +0000
commit2074e7497b6e69c3925216405bc69e8c125036e5 (patch)
tree4c74df9a946ab596e6bd39a4e7816d5235c06609 /llvm/lib/Support/StringRef.cpp
parent9cfb973ab4f68f88baede1a04e4dc5caf4ab656d (diff)
downloadbcm5719-llvm-2074e7497b6e69c3925216405bc69e8c125036e5.tar.gz
bcm5719-llvm-2074e7497b6e69c3925216405bc69e8c125036e5.zip
[DAG] Don't increase SDNodeOrder for dbg.value/declare.
Summary: The SDNodeOrder is saved in the IROrder field in the SDNode, and this field may affects scheduling. Thus, letting dbg.value/declare increase the order numbers may in turn affect scheduling. Because of this change we also need to update the code deciding when dbg values should be output, in ScheduleDAGSDNodes.cpp/ProcessSDDbgValues. Dbg values now have the same order as the SDNode they are connected to, not the following orders. Test cases provided by Florian Hahn. Reviewers: bogner, aprantl, sunfish, atrick Reviewed By: atrick Subscribers: fhahn, probinson, andreadb, llvm-commits, MatzeB Differential Revision: https://reviews.llvm.org/D25318 llvm-svn: 292485
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud