Skip to content

Commit 4448e41

Browse files
Don't have getVectorTByteLength() return 0 for the time being (#89802)
1 parent 11126f8 commit 4448e41

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/coreclr/jit/compiler.h

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8741,7 +8741,10 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
87418741
}
87428742
else
87438743
{
8744-
return 0;
8744+
// TODO: We should be returning 0 here, but there are a number of
8745+
// places that don't quite get handled correctly in that scenario
8746+
8747+
return XMM_REGSIZE_BYTES;
87458748
}
87468749
#elif defined(TARGET_ARM64)
87478750
if (compExactlyDependsOn(InstructionSet_VectorT128))
@@ -8750,7 +8753,10 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
87508753
}
87518754
else
87528755
{
8753-
return 0;
8756+
// TODO: We should be returning 0 here, but there are a number of
8757+
// places that don't quite get handled correctly in that scenario
8758+
8759+
return FP_REGSIZE_BYTES;
87548760
}
87558761
#else
87568762
assert(!"getVectorTByteLength() unimplemented on target arch");

0 commit comments

Comments
 (0)