diff options
-rw-r--r-- | src/jit/importer.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/jit/importer.cpp b/src/jit/importer.cpp index d91537c0d6..0da280e0d2 100644 --- a/src/jit/importer.cpp +++ b/src/jit/importer.cpp @@ -14805,6 +14805,11 @@ void Compiler::impImportBlockCode(BasicBlock* block) // Could point anywhere, example a boxed class static int op1->gtFlags |= GTF_IND_TGTANYWHERE | GTF_GLOB_REF; assertImp(varTypeIsArithmetic(op1->gtType)); + + if (prefixFlags & PREFIX_UNALIGNED) + { + op1->gtFlags |= GTF_IND_UNALIGNED; + } } else { |