JIT: update switch flags after peel (#53570)
authorAndy Ayers <andya@microsoft.com>
Wed, 2 Jun 2021 16:38:53 +0000 (09:38 -0700)
committerGitHub <noreply@github.com>
Wed, 2 Jun 2021 16:38:53 +0000 (09:38 -0700)
commitbc7d4dc6dc0014a134b94b91c24abf03186f9084
tree8846bcc4edb367fb3446b170fde11facf1de5fcb
parent69241aa2b1dbefb5ce84b33cb63eb63907495d19
JIT: update switch flags after peel (#53570)

If we introduce a temp for the switch operand, the switch node may have extra flags
set that it doesn't need. Reset these based on the operand.

Closes #53548.
src/coreclr/jit/fgopt.cpp