Skip to content

Commit

Permalink
Use LclFld when copy to/from promoted from/to an unpromoted struct/bl…
Browse files Browse the repository at this point in the history
…ock.
  • Loading branch information
Sergey committed Mar 11, 2021
1 parent 2f0c2ac commit 4159742
Show file tree
Hide file tree
Showing 2 changed files with 230 additions and 103 deletions.
2 changes: 2 additions & 0 deletions src/coreclr/jit/compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -5835,6 +5835,8 @@ class Compiler
GenTree* fgMorphSmpOpOptional(GenTreeOp* tree);
GenTree* fgMorphConst(GenTree* tree);

bool fgMorphCanUseLclFldForCopy(unsigned lclNum1, unsigned lclNum2);

GenTreeLclVar* fgMorphTryFoldObjAsLclVar(GenTreeObj* obj);
GenTree* fgMorphCommutative(GenTreeOp* tree);

Expand Down

0 comments on commit 4159742

Please sign in to comment.