Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Fix another "VN maintainance in morph" bug
Exposed by the more aggressive hoisting.
  • Loading branch information
SingleAccretion committed May 23, 2022
commit 9de70e9733a099bc7abc6053e4517b2981aad37e
1 change: 1 addition & 0 deletions src/coreclr/jit/morph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11764,6 +11764,7 @@ GenTree* Compiler::fgMorphSmpOp(GenTree* tree, MorphAddrContext* mac)
// 'temp' because a GT_ADDR always marks it for its operand.
temp->gtFlags &= ~GTF_DONT_CSE;
temp->gtFlags |= (tree->gtFlags & GTF_DONT_CSE);
temp->SetVNsFromNode(tree);

if (op1->OperGet() == GT_ADD)
{
Expand Down