projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8f9f23
)
Copy lvExactSize to shadowVar
author
Michelle McDaniel
<adiaaida@gmail.com>
Wed, 11 Jan 2017 20:48:55 +0000
(12:48 -0800)
committer
Michelle McDaniel
<adiaaida@gmail.com>
Wed, 11 Jan 2017 20:48:55 +0000
(12:48 -0800)
For TYP_SIMD12 vars, we need to copy the lvExactSize to the shadowVar
so that we have the right size in lower.
Fixes dotnet/coreclr#8550.
Commit migrated from https://github.com/dotnet/coreclr/commit/
c5164321762be137643b3152c5b1a6800df595f6
src/coreclr/src/jit/gschecks.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/jit/gschecks.cpp
b/src/coreclr/src/jit/gschecks.cpp
index
9255d8f
..
c3522b8
100644
(file)
--- a/
src/coreclr/src/jit/gschecks.cpp
+++ b/
src/coreclr/src/jit/gschecks.cpp
@@
-406,6
+406,7
@@
void Compiler::gsParamsToShadows()
#ifdef FEATURE_SIMD
lvaTable[shadowVar].lvSIMDType = varDsc->lvSIMDType;
+ lvaTable[shadowVar].lvExactSize = varDsc->lvExactSize;
lvaTable[shadowVar].lvUsedInSIMDIntrinsic = varDsc->lvUsedInSIMDIntrinsic;
if (varDsc->lvSIMDType)
{