-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Closed
Copy link
Labels
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIbug
Milestone
Description
#39066 (comment) has a detailed description of the issue, shortly we should not allow IR with mismatched src and dst size under `ASG struct (copy) like:
[000008] -A-XG+------ * ASG struct (copy)
[000000] D----+-N---- +--* LCL_VAR struct<B, 8> V02 loc1 <- 8 byte size
[000004] ---XG+-N---- \--* IND byte <- 1 byte size
[000003] *--XG+------ \--* IND long Zero Fseq[a]
[000002] -----+------ \--* LCL_VAR long V00 arg0
I am going to:
- reenable the IL test;
- finish the fix in
fgMorphCopyBlock(sandreenko@6b07be7); - add more asserts and reenable the optimization;
- check how it works for primitive types and sizes that do not match struct borders;
Metadata
Metadata
Assignees
Labels
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIbug