From e6d86bac63e8a705fb66a1ad6dfc75b916e99ca4 Mon Sep 17 00:00:00 2001 From: Roman Artemev Date: Tue, 4 Jul 2017 17:14:24 -0700 Subject: [PATCH] Fix misprint in complex condition Commit migrated from https://github.com/dotnet/coreclr/commit/102b767e2ce82a4d380abb4b764997e579b6e3c8 --- src/coreclr/src/jit/valuenum.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/src/jit/valuenum.cpp b/src/coreclr/src/jit/valuenum.cpp index 8c4fb9b..b1205ca 100644 --- a/src/coreclr/src/jit/valuenum.cpp +++ b/src/coreclr/src/jit/valuenum.cpp @@ -1088,7 +1088,7 @@ ValueNum ValueNumStore::VNForFunc(var_types typ, VNFunc func, ValueNum arg0VN, V if ((arg0IsFloating && (((arg0VNtyp == TYP_FLOAT) && _isnanf(GetConstantSingle(arg0VN))) || ((arg0VNtyp == TYP_DOUBLE) && _isnan(GetConstantDouble(arg0VN))))) || (arg1IsFloating && (((arg1VNtyp == TYP_FLOAT) && _isnanf(GetConstantSingle(arg1VN))) || - ((arg0VNtyp == TYP_DOUBLE) && _isnan(GetConstantDouble(arg1VN)))))) + ((arg1VNtyp == TYP_DOUBLE) && _isnan(GetConstantDouble(arg1VN)))))) { canFold = false; } -- 2.7.4