Fix lsra memory consumption (#11233)
authorSergey Andreenko <seandree@microsoft.com>
Fri, 28 Apr 2017 01:06:34 +0000 (18:06 -0700)
committerGitHub <noreply@github.com>
Fri, 28 Apr 2017 01:06:34 +0000 (18:06 -0700)
commit70014f8863209853a29d010219e36b7eae2d4cd8
tree3bfefec5695fefcefa512d6715cb4dd0411c6db5
parente60e06f9b65d3fafdd6fd78900315d765ef3c91e
Fix lsra memory consumption (#11233)

* Rename ClearD to OldStyleClearD

* create fast ClearD function.

The new ClearD reuses existing buffer and assumes that epoch wasn't
changed.

* Reuse existing buffer for the predSet in lsra.

* Use fast ClearD in LSRA.

* Use fast ClearD in liveness

* Fix the comment

* delete the test from issues
14 files changed:
src/jit/assertionprop.cpp
src/jit/bitset.h
src/jit/bitsetasshortlong.h
src/jit/bitsetasuint64.h
src/jit/bitsetasuint64inclass.h
src/jit/bitsetops.h
src/jit/copyprop.cpp
src/jit/emit.cpp
src/jit/flowgraph.cpp
src/jit/liveness.cpp
src/jit/lsra.cpp
src/jit/lsra.h
src/jit/regalloc.cpp
tests/issues.targets