Open reflectronic opened 2 months ago
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch See info in area-owners.md if you want to be subscribed.
Though the two methods behave identically
Hm. They do not for non-normalized bool
values. That makes it more complicated than this (though perhaps still cheaply possible).
Consider:
The following code is generated:
Though the two methods behave identically,
M1
contains an extra test and branch (and frame, due to more complex control flow). The nested branches could be transformed into one AND test to optimize this automatically.