projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72e751c
)
[RyuJit][x86] another forgotten case with unused flag in decomposition.
author
Sergey Andreenko
<seandree@microsoft.com>
Mon, 11 Dec 2017 21:48:55 +0000
(13:48 -0800)
committer
GitHub
<noreply@github.com>
Mon, 11 Dec 2017 21:48:55 +0000
(13:48 -0800)
rotate nodes are rare, so it why we did not see it.
src/jit/decomposelongs.cpp
patch
|
blob
|
history
diff --git
a/src/jit/decomposelongs.cpp
b/src/jit/decomposelongs.cpp
index
de5c089
..
7654c13
100644
(file)
--- a/
src/jit/decomposelongs.cpp
+++ b/
src/jit/decomposelongs.cpp
@@
-1553,6
+1553,11
@@
GenTree* DecomposeLongs::DecomposeRotate(LIR::Use& use)
gtLong->gtOp.gtOp1 = loResult;
gtLong->gtOp.gtOp2 = hiResult;
+ if (tree->IsUnusedValue())
+ {
+ gtLong->SetUnusedValue();
+ }
+
GenTree* next = tree->gtNext;
// Remove tree and don't do anything else.
Range().Remove(tree);