Introduce GT_JCC.
authorPat Gavlin <pagavlin@microsoft.com>
Wed, 14 Sep 2016 02:32:57 +0000 (19:32 -0700)
committerPat Gavlin <pagavlin@microsoft.com>
Wed, 14 Sep 2016 17:33:37 +0000 (10:33 -0700)
commit284a1f9dd09cdc2bc612f27f962d39e742438690
tree8dda3564734f94080503697d942fcb66fb754c56
parentb0132b388d1b1f89cdcb7ef75ac3c052694e49f1
Introduce GT_JCC.

This node represents a jump that is conditional upon the value stored in
the target's condition code register. It is only valid in the backend.
No formal modeling of the CCR is performed, so its use must be
constrained such that instructions that def the CCR are not inserted
between the JCC node and the node that it expected to def the CCR.

This is currently only used when lowering compares of long-typed
values for x86.

Commit migrated from https://github.com/dotnet/coreclr/commit/4351a27c18a88c50c0e701975d9a58f5ade57e78
src/coreclr/src/jit/codegenxarch.cpp
src/coreclr/src/jit/compiler.h
src/coreclr/src/jit/flowgraph.cpp
src/coreclr/src/jit/gentree.cpp
src/coreclr/src/jit/gentree.h
src/coreclr/src/jit/gtlist.h
src/coreclr/src/jit/gtstructs.h
src/coreclr/src/jit/lir.cpp
src/coreclr/src/jit/lower.cpp
src/coreclr/src/jit/lowerxarch.cpp
src/coreclr/src/jit/lsra.cpp