Skip to content

ECMA is not clear about conv.ovf.i1.un behavior. #53189

@sandreenko

Description

@sandreenko

Digging into #52828 I think there are more issues to fix, according to ECMA-335 such IL

      ldc.r4       -1.0
      conv.ovf.i1.un

should throw,
when

      ldc.r4       -1.0
      conv.ovf.i1

should not.

Nowadays they both don't (with or without the changes from #52828 )

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIdocumentationDocumentation bug or enhancement, does not impact product or test code

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions