Skip to content

Commit ad4b0f9

Browse files
committed
use correct ILOpcode for compare equal
1 parent a1d8a65 commit ad4b0f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/HardwareIntrinsicHelpers.Aot.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public static MethodIL EmitIsSupportedIL(MethodDesc method, FieldDesc isSupporte
5858
codeStream.EmitLdc(flag);
5959
codeStream.Emit(ILOpcode.and);
6060
codeStream.EmitLdc(flag);
61-
codeStream.Emit(ILOpcode.beq);
61+
codeStream.Emit(ILOpcode.ceq);
6262
codeStream.Emit(ILOpcode.ret);
6363
}
6464
else

0 commit comments

Comments
 (0)