JIT: Introduce GT_JTEST and clean up GT_JCMP flags (#85242)
authorJakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com>
Wed, 26 Apr 2023 08:04:03 +0000 (10:04 +0200)
committerGitHub <noreply@github.com>
Wed, 26 Apr 2023 08:04:03 +0000 (10:04 +0200)
commitac2b3535695fada0e0a2b5426a3dcaca0bc305e3
treee618b171112c842231d1da998250a88b3c1fd7b0
parent71557dbbda8b965531362e78d722666ad80ed1c7
JIT: Introduce GT_JTEST and clean up GT_JCMP flags (#85242)

* Introduce GT_JTEST to replace GTF_JCMP_TEST
* Stop encoding JCMP conditions in GenTreeFlags by switching GT_JCMP to
  a GenTreeOpCC node. This removes GTF_JCMP_EQ and the
  LoongArch64/RISC-V specific mechanism to communicate condition codes
  to the backend via gtFlags.
18 files changed:
src/coreclr/jit/codegen.h
src/coreclr/jit/codegenarm64.cpp
src/coreclr/jit/codegenarmarch.cpp
src/coreclr/jit/codegenloongarch64.cpp
src/coreclr/jit/codegenriscv64.cpp
src/coreclr/jit/fgstmt.cpp
src/coreclr/jit/gentree.cpp
src/coreclr/jit/gentree.h
src/coreclr/jit/gtlist.h
src/coreclr/jit/gtstructs.h
src/coreclr/jit/liveness.cpp
src/coreclr/jit/lower.cpp
src/coreclr/jit/lowerarmarch.cpp
src/coreclr/jit/lowerloongarch64.cpp
src/coreclr/jit/lowerriscv64.cpp
src/coreclr/jit/lsra.cpp
src/coreclr/jit/lsraarm64.cpp
src/coreclr/jit/lsrabuild.cpp