From 18887861318e6ac1da8e341864b8e5f539ab7096 Mon Sep 17 00:00:00 2001 From: EgorBo Date: Sat, 12 Feb 2022 16:18:47 +0300 Subject: [PATCH] Fix reporting ZR to gc --- src/coreclr/jit/compiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/jit/compiler.cpp b/src/coreclr/jit/compiler.cpp index b61f75dd614a26..9b4923b4e0ac0b 100644 --- a/src/coreclr/jit/compiler.cpp +++ b/src/coreclr/jit/compiler.cpp @@ -9756,7 +9756,7 @@ bool Compiler::lvaIsOSRLocal(unsigned varNum) // var_types Compiler::gtTypeForNullCheck(GenTree* tree) { - if (varTypeIsIntegralOrI(tree)) + if (varTypeIsIntegral(tree)) { #if defined(TARGET_XARCH) // Just an optimization for XARCH - smaller mov