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:
ed4f7f7
)
Set Register Requirements for Mod/Div
author
Carol Eidt
<carol.eidt@microsoft.com>
Wed, 2 Aug 2017 01:19:36 +0000
(18:19 -0700)
committer
Carol Eidt
<carol.eidt@microsoft.com>
Wed, 2 Aug 2017 01:19:36 +0000
(18:19 -0700)
src/jit/lsraxarch.cpp
patch
|
blob
|
history
diff --git
a/src/jit/lsraxarch.cpp
b/src/jit/lsraxarch.cpp
index
6613fc3
..
e90be05
100644
(file)
--- a/
src/jit/lsraxarch.cpp
+++ b/
src/jit/lsraxarch.cpp
@@
-2068,7
+2068,7
@@
void Lowering::TreeNodeInfoInitModDiv(GenTree* tree)
op1->gtLsraInfo.setSrcCandidates(l, RBM_RAX);
}
- if (
op2->IsRegOptional
())
+ if (
!op2->isContained
())
{
op2->gtLsraInfo.setSrcCandidates(l, l->allRegs(TYP_INT) & ~(RBM_RAX | RBM_RDX));
}