summaryrefslogtreecommitdiff
path: root/src/jit/rationalize.cpp
diff options
context:
space:
mode:
authorTanner Gooding <tagoo@outlook.com>2017-10-28 09:35:28 -0700
committerTanner Gooding <tagoo@outlook.com>2018-01-14 17:37:43 -0800
commit7ba1bf921700a66ee2e45ce5f706b3366ee493ba (patch)
tree8f9c449fe0b80a9dc19317b22786281161e823c5 /src/jit/rationalize.cpp
parent2f3fa55c05bd4c2c60eb627d41634efaf46d20d3 (diff)
downloadcoreclr-7ba1bf921700a66ee2e45ce5f706b3366ee493ba.tar.gz
coreclr-7ba1bf921700a66ee2e45ce5f706b3366ee493ba.tar.bz2
coreclr-7ba1bf921700a66ee2e45ce5f706b3366ee493ba.zip
Adding SSE4.1 intrinsic support for Round, Ceiling, and Floor.
Diffstat (limited to 'src/jit/rationalize.cpp')
-rw-r--r--src/jit/rationalize.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jit/rationalize.cpp b/src/jit/rationalize.cpp
index a5ae268207..3696f40f7c 100644
--- a/src/jit/rationalize.cpp
+++ b/src/jit/rationalize.cpp
@@ -823,7 +823,7 @@ Compiler::fgWalkResult Rationalizer::RewriteNode(GenTree** useEdge, ArrayStack<G
case GT_INTRINSIC:
// Non-target intrinsics should have already been rewritten back into user calls.
- assert(Compiler::IsTargetIntrinsic(node->gtIntrinsic.gtIntrinsicId));
+ assert(comp->IsTargetIntrinsic(node->gtIntrinsic.gtIntrinsicId));
break;
#ifdef FEATURE_SIMD
@@ -999,7 +999,7 @@ void Rationalizer::DoPhase()
{
GenTree* const node = *use;
if (node->OperGet() == GT_INTRINSIC &&
- Compiler::IsIntrinsicImplementedByUserCall(node->gtIntrinsic.gtIntrinsicId))
+ m_rationalizer.comp->IsIntrinsicImplementedByUserCall(node->gtIntrinsic.gtIntrinsicId))
{
m_rationalizer.RewriteIntrinsicAsUserCall(use, this->m_ancestors);
}