OSDN Git Service

Fix PR26940 where compiles times regressed massively.
authorChandler Carruth <chandlerc@gmail.com>
Thu, 31 Mar 2016 21:55:58 +0000 (21:55 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 31 Mar 2016 21:55:58 +0000 (21:55 +0000)
commite6ec1e3b8f2e8d665badff3f98b92b864ade98c8
tree1ca1b71009f841ac90c1a0ecb3c9a6692b4e8560
parent99811fe3c48970c968cb4ceb325a0e55f3beb9f0
Fix PR26940 where compiles times regressed massively.

Patch by Jonas Paulsson. Original description:
Bugfix in buildSchedGraph() to make -dag-maps-huge-region work properly

I found that the reduction of the maps did in fact never happen in this
test case. This was because *all* the stores / loads were made with
addresses from arguments and they thus became "unknown" stores / loads.
Fixed by removing continue statements and making sure that the test for
reduction always takes place.

Differential Revision: http://reviews.llvm.org/D18673

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265063 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/ScheduleDAGInstrs.cpp