File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -720,6 +720,7 @@ Range RangeCheck::GetRangeFromAssertionsWorker(
720720 VNFuncApp funcApp;
721721 if (comp->vnStore ->GetVNFunc (num, &funcApp))
722722 {
723+ #if defined(FEATURE_HW_INTRINSICS)
723724 // Some HWIntrinsic functions have known result ranges that can be queried via flags.
724725 NamedIntrinsic id;
725726 unsigned simdSize;
@@ -738,6 +739,7 @@ Range RangeCheck::GetRangeFromAssertionsWorker(
738739 result = GetRangeFromType (simdBaseType);
739740 }
740741 }
742+ #endif // FEATURE_HW_INTRINSICS
741743
742744 switch (funcApp.GetFunc ())
743745 {
Original file line number Diff line number Diff line change @@ -7076,6 +7076,7 @@ bool ValueNumStore::IsVNNeverNegative(ValueNum vn)
70767076 if (GetVNFunc(vn, &funcApp))
70777077 {
70787078 // Some HWIntrinsic functions have known result ranges that can be queried via flags.
7079+ #if defined(FEATURE_HW_INTRINSICS)
70797080 NamedIntrinsic id;
70807081 unsigned simdSize;
70817082 var_types simdBaseType;
@@ -7096,6 +7097,7 @@ bool ValueNumStore::IsVNNeverNegative(ValueNum vn)
70967097 }
70977098 }
70987099 }
7100+ #endif // FEATURE_HW_INTRINSICS
70997101
71007102 switch (funcApp.GetFunc())
71017103 {
You can’t perform that action at this time.
0 commit comments