Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 346167e

Browse files
authored
Merge pull request #21058 from CarolEidt/FixVZeroUpper
Record AVX use for SIMD indirections
2 parents a9b57bd + 979bf6a commit 346167e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/jit/lsraxarch.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2779,6 +2779,10 @@ int LinearScan::BuildIndir(GenTreeIndir* indirTree)
27792779
}
27802780
}
27812781
#ifdef FEATURE_SIMD
2782+
if (varTypeIsSIMD(indirTree))
2783+
{
2784+
SetContainsAVXFlags(true, genTypeSize(indirTree->TypeGet()));
2785+
}
27822786
buildInternalRegisterUses();
27832787
#endif // FEATURE_SIMD
27842788

0 commit comments

Comments
 (0)