Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cse tuning #1463

Merged
merged 17 commits into from
Jan 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/coreclr/src/jit/compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -1001,8 +1001,8 @@ class TempDsc
TempDsc(int _tdNum, unsigned _tdSize, var_types _tdType) : tdNum(_tdNum), tdSize((BYTE)_tdSize), tdType(_tdType)
{
#ifdef DEBUG
assert(tdNum <
0); // temps must have a negative number (so they have a different number from all local variables)
// temps must have a negative number (so they have a different number from all local variables)
assert(tdNum < 0);
tdOffs = BAD_TEMP_OFFSET;
#endif // DEBUG
if (tdNum != _tdNum)
Expand Down Expand Up @@ -6144,8 +6144,8 @@ class Compiler

unsigned csdHashKey; // the orginal hashkey

unsigned csdIndex; // 1..optCSECandidateCount
char csdLiveAcrossCall; // 0 or 1
unsigned csdIndex; // 1..optCSECandidateCount
bool csdLiveAcrossCall;

unsigned short csdDefCount; // definition count
unsigned short csdUseCount; // use count (excluding the implicit uses at defs)
Expand Down Expand Up @@ -6242,7 +6242,7 @@ class Compiler
unsigned optCSECandidateCount; // Count of CSE's candidates, reset for Lexical and ValNum CSE's
unsigned optCSEstart; // The first local variable number that is a CSE
unsigned optCSEcount; // The total count of CSE's introduced.
unsigned optCSEweight; // The weight of the current block when we are doing PerformCS
unsigned optCSEweight; // The weight of the current block when we are doing PerformCSE

bool optIsCSEcandidate(GenTree* tree);

Expand Down Expand Up @@ -6301,8 +6301,8 @@ class Compiler
INDEBUG(void optDumpCopyPropStack(LclNumToGenTreePtrStack* curSsaName));

/**************************************************************************
* Early value propagation
*************************************************************************/
* Early value propagation
*************************************************************************/
struct SSAName
{
unsigned m_lvNum;
Expand Down
Loading