Move and-cmp-nonzero transform from TreeNodeInfoInitCmp to LowerCompare
FX diff shows a 34 byte improvement without any regressions. In the original code this transform was unnecessarily blocked by an uncontainable GT_AND bit mask:
mov rax, 0x80000000
and rax, qword ptr [rsp+08H]
mov rdx, 0x80000000
cmp rax, rdx
sete al
now generates
mov rax, 0x8000000000000000
and rax, qword ptr [rsp+08H]
setne al
Commit migrated from https://github.com/dotnet/coreclr/commit/
e74c08ecdde10a84af4fa555efbd925f2cc08547