diff options
-rw-r--r-- | src/jit/codegenxarch.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/jit/codegenxarch.cpp b/src/jit/codegenxarch.cpp index 66ab3588ba..6a9e38e438 100644 --- a/src/jit/codegenxarch.cpp +++ b/src/jit/codegenxarch.cpp @@ -2676,12 +2676,8 @@ CodeGen::genStoreRegisterReturnInLclVar(GenTreePtr treeNode) assert(structDesc.passedInRegisters); - // TODO-Amd64-Unix: Have Lubo Review this change - // Test case JIT.opt.ETW.TailCallCases.TailCallCases has eightByteCount == 1 - // This occurs with a TYP_STRUCT that is 3 bytes in size - // commenting out this assert results in correct codegen - // - // assert(structDesc.eightByteCount == CLR_SYSTEMV_MAX_EIGHTBYTES_COUNT_TO_PASS_IN_REGISTERS); + // The type of LclVars of TYP_STRUCT with one eightbyte is normalized. + assert(structDesc.eightByteCount == CLR_SYSTEMV_MAX_EIGHTBYTES_COUNT_TO_PASS_IN_REGISTERS); GenTreePtr op1 = treeNode->gtOp.gtOp1; genConsumeRegs(op1); |