From 86b72d15a213ddc964efc84043e50ec90339ba9b Mon Sep 17 00:00:00 2001 From: Carol Eidt Date: Fri, 2 Sep 2016 07:53:11 -0700 Subject: [PATCH] Restore the change to gtNewBlkOpNode --- src/jit/gentree.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/jit/gentree.cpp b/src/jit/gentree.cpp index d60e9c59b0..25958bcf74 100644 --- a/src/jit/gentree.cpp +++ b/src/jit/gentree.cpp @@ -7165,6 +7165,10 @@ GenTree* Compiler::gtNewBlkOpNode( if (isCopyBlock) { srcOrFillVal->gtFlags |= GTF_DONT_CSE; + if (srcOrFillVal->OperIsIndir() && (srcOrFillVal->gtGetOp1()->gtOper == GT_ADDR)) + { + srcOrFillVal = srcOrFillVal->gtGetOp1()->gtGetOp1(); + } } GenTree* result = gtNewAssignNode(dst, srcOrFillVal); -- 2.34.1