diff options
author | Tanner Gooding <tagoo@outlook.com> | 2018-05-24 14:21:12 -0700 |
---|---|---|
committer | Tanner Gooding <tagoo@outlook.com> | 2018-05-24 16:24:52 -0700 |
commit | 3b32ecf311b4c4d16d770501d5257a2e2f74e656 (patch) | |
tree | 8f2940ca039d17eaa4c074d0c091eb1052eed3cd /src/jit/lsrabuild.cpp | |
parent | a9a7e78d290809692f23f129cd373e5f9a71a294 (diff) | |
download | coreclr-3b32ecf311b4c4d16d770501d5257a2e2f74e656.tar.gz coreclr-3b32ecf311b4c4d16d770501d5257a2e2f74e656.tar.bz2 coreclr-3b32ecf311b4c4d16d770501d5257a2e2f74e656.zip |
Updating BuildDelayFreeUses to also consider contained HWIntrinsic nodes.
Diffstat (limited to 'src/jit/lsrabuild.cpp')
-rw-r--r-- | src/jit/lsrabuild.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/jit/lsrabuild.cpp b/src/jit/lsrabuild.cpp index ba427454df..ffacd7a5df 100644 --- 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; } |