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:
8d51f9e
)
Small correction for #3067.
author
Eugene Rozenfeld
<erozen@microsoft.com>
Wed, 10 Feb 2016 23:50:41 +0000
(15:50 -0800)
committer
Eugene Rozenfeld
<erozen@microsoft.com>
Wed, 10 Feb 2016 23:50:41 +0000
(15:50 -0800)
The code to change multiplication to shift shouldn't be
under LEA_AVAILABLE since the code to process multiplication
by power of 2 isn't.
src/jit/morph.cpp
patch
|
blob
|
history
diff --git
a/src/jit/morph.cpp
b/src/jit/morph.cpp
index
ba1e0da
..
8243d7a
100644
(file)
--- a/
src/jit/morph.cpp
+++ b/
src/jit/morph.cpp
@@
-10839,7
+10839,7
@@
CM_ADD_OP:
changeToShift = true;
}
}
-
+#endif // LEA_AVAILABLE
if (changeToShift)
{
// vnStore is null before the ValueNumber phase has run
@@
-10855,7
+10855,6
@@
CM_ADD_OP:
goto DONE_MORPHING_CHILDREN;
}
-#endif // LEA_AVAILABLE
}
else if (fgOperIsBitwiseRotationRoot(oper))
{