Do not propagate RHS flags in block morphing (#66291)
authorSingleAccretion <62474226+SingleAccretion@users.noreply.github.com>
Wed, 9 Mar 2022 02:18:54 +0000 (05:18 +0300)
committerGitHub <noreply@github.com>
Wed, 9 Mar 2022 02:18:54 +0000 (18:18 -0800)
commit60f593b4dc3760268956b9a874daad7f49b0255d
tree8faf166fe99cb4c08543ce3a008bf23b4674fa3c
parent853e494abd1c1e12d28a76829b4680af7f694afa
Do not propagate RHS flags in block morphing (#66291)

It is not necessary to copy flags from the source node to the field nodes
when doing a field-by-field copy in block morphing. In fact, it can be a
pessimization in cases where the source node had NO_CSE set, which would
block constant propagation.
src/coreclr/jit/morphblock.cpp