Introduce `GenTreeDebugOperKind` (#64498)
authorSingleAccretion <62474226+SingleAccretion@users.noreply.github.com>
Fri, 11 Feb 2022 16:08:54 +0000 (19:08 +0300)
committerGitHub <noreply@github.com>
Fri, 11 Feb 2022 16:08:54 +0000 (08:08 -0800)
commit5422e1f6d7eeda50388dfaaf2b7defd90a913615
treeecd576058814703d50cb21cd27445e092bb2d81c
parentf3eaf31dd65dbc96134beb234eaf14dc1c5c0202
Introduce `GenTreeDebugOperKind` (#64498)

* Introducing GenTreeDebugOperKind

To track invariants related to opers in asserts
without increasing the size of the primary oper
kind table.

Some shuffling of the oper table to make it look better.

* More "gtlist.h" cleanup

Put all OperIsIdir opers together, fix up formatting,
move opers around to more logical places.

* Remove redundant asserts

* GTK_NOTLIR -> DBK_NOTLIR

There is not a lot of point in this being a "release"
oper kind, as it is really only useful for debug checks.

* GTK_NOCONTAIN -> DBK_NOCONTAIN

* Fix formatting...
src/coreclr/jit/assertionprop.cpp
src/coreclr/jit/fgstmt.cpp
src/coreclr/jit/gentree.cpp
src/coreclr/jit/gentree.h
src/coreclr/jit/gtlist.h
src/coreclr/jit/lir.cpp
src/coreclr/jit/lsra.cpp
src/coreclr/jit/lsrabuild.cpp
src/coreclr/jit/rationalize.cpp
src/coreclr/jit/valuenum.cpp