-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
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 SuperPMI
Milestone
Description
void Test(int* a, int i) => a[i + 1] = 42;Emits:
inc edx
movsxd rax, edx
mov dword ptr [rcx+4*rax], 42Expected:
movsxd rax, edx
mov dword ptr [rcx+4+4*rax], 42It's important to "contain" the constant offset for proper vectorization in #92852
Reactions are currently unavailable
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 SuperPMI