diff options
author | Sergey Andreenko <seandree@microsoft.com> | 2017-04-27 18:06:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-27 18:06:34 -0700 |
commit | 70014f8863209853a29d010219e36b7eae2d4cd8 (patch) | |
tree | 3bfefec5695fefcefa512d6715cb4dd0411c6db5 /src/jit/bitsetasuint64.h | |
parent | e60e06f9b65d3fafdd6fd78900315d765ef3c91e (diff) | |
download | coreclr-70014f8863209853a29d010219e36b7eae2d4cd8.tar.gz coreclr-70014f8863209853a29d010219e36b7eae2d4cd8.tar.bz2 coreclr-70014f8863209853a29d010219e36b7eae2d4cd8.zip |
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
Diffstat (limited to 'src/jit/bitsetasuint64.h')
-rw-r--r-- | src/jit/bitsetasuint64.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/jit/bitsetasuint64.h b/src/jit/bitsetasuint64.h index 243e9e33b4..aec4d05c35 100644 --- a/src/jit/bitsetasuint64.h +++ b/src/jit/bitsetasuint64.h @@ -44,6 +44,11 @@ public: lhs = rhs; } + static void OldStyleClearD(Env env, UINT64& bs) + { + bs = 0; + } + static void ClearD(Env env, UINT64& bs) { bs = 0; |