From 979bf6a24394c8bdb90ceab85179d93365c5cf45 Mon Sep 17 00:00:00 2001 From: Carol Eidt Date: Fri, 16 Nov 2018 09:01:57 -0800 Subject: [PATCH] Record AVX use for SIMD indirections --- src/jit/lsraxarch.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/jit/lsraxarch.cpp b/src/jit/lsraxarch.cpp index 530a71c..893571b 100644 --- a/src/jit/lsraxarch.cpp +++ b/src/jit/lsraxarch.cpp @@ -2824,6 +2824,10 @@ int LinearScan::BuildIndir(GenTreeIndir* indirTree) } } #ifdef FEATURE_SIMD + if (varTypeIsSIMD(indirTree)) + { + SetContainsAVXFlags(true, genTypeSize(indirTree->TypeGet())); + } buildInternalRegisterUses(); #endif // FEATURE_SIMD -- 2.7.4