Methods to check for integer constants and zero
authorCarol Eidt <carol.eidt@microsoft.com>
Thu, 2 Jun 2016 21:01:38 +0000 (14:01 -0700)
committerCarol Eidt <carol.eidt@microsoft.com>
Wed, 8 Jun 2016 00:55:15 +0000 (17:55 -0700)
commit254c76847188973d831e76f002df5dd6ad51bdbc
tree45fa8830af84177fc89d30dd2789b00f6624c5cb
parentf818f1bb1aa0ce98a44061c3c05898c11efa89ab
Methods to check for integer constants and zero

These are primarily motivated by simplifying the RyuJIT tutorial,
but also make the existing code a bit cleaner.

Commit migrated from https://github.com/dotnet/coreclr/commit/d72a4757de8ee44dae4f8ab1960771da4dd1fe85
src/coreclr/src/jit/codegenarm64.cpp
src/coreclr/src/jit/codegenxarch.cpp
src/coreclr/src/jit/gentree.cpp
src/coreclr/src/jit/gentree.h
src/coreclr/src/jit/importer.cpp
src/coreclr/src/jit/lowerarm64.cpp
src/coreclr/src/jit/lowerxarch.cpp
src/coreclr/src/jit/morph.cpp
src/coreclr/src/jit/optimizer.cpp
src/coreclr/src/jit/simd.cpp
src/coreclr/src/jit/simdcodegenxarch.cpp