summaryrefslogtreecommitdiff
path: root/src/jit/lsraxarch.cpp
diff options
context:
space:
mode:
authorCarol Eidt <carol.eidt@microsoft.com>2018-11-20 15:58:41 -0800
committerGitHub <noreply@github.com>2018-11-20 15:58:41 -0800
commit346167eac69662ff492e98429dc85d17fc117ee8 (patch)
treed2770fc41836f944cdd29b354b560f556be9c6c5 /src/jit/lsraxarch.cpp
parenta9b57bd4fe194b30b3c6e9a85a316fc218f474be (diff)
parent979bf6a24394c8bdb90ceab85179d93365c5cf45 (diff)
downloadcoreclr-346167eac69662ff492e98429dc85d17fc117ee8.tar.gz
coreclr-346167eac69662ff492e98429dc85d17fc117ee8.tar.bz2
coreclr-346167eac69662ff492e98429dc85d17fc117ee8.zip
Merge pull request #21058 from CarolEidt/FixVZeroUpper
Record AVX use for SIMD indirections
Diffstat (limited to 'src/jit/lsraxarch.cpp')
-rw-r--r--src/jit/lsraxarch.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/jit/lsraxarch.cpp b/src/jit/lsraxarch.cpp
index 38c92996ad..a28ea02183 100644
--- a/src/jit/lsraxarch.cpp
+++ b/src/jit/lsraxarch.cpp
@@ -2779,6 +2779,10 @@ int LinearScan::BuildIndir(GenTreeIndir* indirTree)
}
}
#ifdef FEATURE_SIMD
+ if (varTypeIsSIMD(indirTree))
+ {
+ SetContainsAVXFlags(true, genTypeSize(indirTree->TypeGet()));
+ }
buildInternalRegisterUses();
#endif // FEATURE_SIMD