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:
a9a7e78
)
Updating BuildDelayFreeUses to also consider contained HWIntrinsic nodes.
author
Tanner Gooding
<tagoo@outlook.com>
Thu, 24 May 2018 21:21:12 +0000
(14:21 -0700)
committer
Tanner Gooding
<tagoo@outlook.com>
Thu, 24 May 2018 23:24:52 +0000
(16:24 -0700)
src/jit/lsrabuild.cpp
patch
|
blob
|
history
diff --git
a/src/jit/lsrabuild.cpp
b/src/jit/lsrabuild.cpp
index
ba42745
..
ffacd7a
100644
(file)
--- a/
src/jit/lsrabuild.cpp
+++ b/
src/jit/lsrabuild.cpp
@@
-2645,7
+2645,13
@@
int LinearScan::BuildDelayFreeUses(GenTree* node, regMaskTP candidates)
setDelayFree(use);
return 1;
}
- else if (!node->OperIsIndir())
+ if (node->OperIsHWIntrinsic())
+ {
+ use = BuildUse(node->gtGetOp1(), candidates);
+ setDelayFree(use);
+ return 1;
+ }
+ if (!node->OperIsIndir())
{
return 0;
}