summaryrefslogtreecommitdiff
path: root/src/jit/lsraxarch.cpp
diff options
context:
space:
mode:
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