summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp
diff options
context:
space:
mode:
authorGeoff Berry <gberry@codeaurora.org>2016-01-06 18:14:26 +0000
committerGeoff Berry <gberry@codeaurora.org>2016-01-06 18:14:26 +0000
commit12fe2279f3d166d4b1dfe302298fbf45c7afaf40 (patch)
tree715ac92ed869ad392b698fad49515c4238ab8355 /llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp
parentfe46cadcf90386a958058fe4540b6ff2ff9c9ea1 (diff)
downloadbcm5719-llvm-12fe2279f3d166d4b1dfe302298fbf45c7afaf40.tar.gz
bcm5719-llvm-12fe2279f3d166d4b1dfe302298fbf45c7afaf40.zip
ScheduleDAGInstrs: Bug fix for missed memory dependency.
Summary: In buildSchedGraph(), when adding memory dependencies for loads, move the call to adjustChainDeps() after the call to addChainDependency(AliasChain) to handle the case where addChainDependency(AliasChain) ends up not adding a dependency and instead putting the SU on the RejectMemNodes list. The call to adjustChainDeps() must be done after the call to addChainDependency() in order to process the SU added to the RejectMemNodes list to create memory dependencies for it. Reviewers: hfinkel, atrick, jonpa, resistor Subscribers: mcrosier, llvm-commits Differential Revision: http://reviews.llvm.org/D15927 llvm-svn: 256950
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud