NAOT: fold "always false" typechecks #97601
Labels
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
in-pr
There is an active PR which will close this issue when it is merged
Milestone
If an interface/abstract class has no subclasses or they were trimmed out - all typechecks against that subclass should be folded, e.g.:
Current codegen with NativeAOT for
Test
:Expected codegen:
cc @MichalStrehovsky. I presume for that we need to make 0 a meaningful result for
getExactClasses
API.The text was updated successfully, but these errors were encountered: