Allow constant propagation of Vector.Zero. (#65028)
* Initial work * Added a comma to display * Cleanup * Fixing build * More cleanup * Update comment * Update comment * Added CompareEqual Vector64/128 with Zero tests * Do not contain op1 for now * Wrong intrinsic id used * Removing generated tests * Removing generated tests * Added CompareEqual tests * Supporting containment for first operand * Fix test build * Passing correct register * Check IsVectorZero before not allocing a register * Update comment * Fixing test * Minor format change * Fixed formatting * Renamed test * Adding AdvSimd_Arm64 tests: * Adding support for rest of 'cmeq' and 'fcmeq' instructions * Removing github csproj * Minor test fix * Fixed tests * Fix print * Minor format change * Fixing test * Initial commit for Vector.Create to Vector.Zero normalization * Added some emitter tests * Feedback * Update emitarm64.cpp * Feedback * Handling variations of Vector.Create * Use Operands iterator instead of edges * Fix condition * Simplify * format * Fixed IsFloatPositiveZero * Uncomment * Updated tests to include Vector64.Create/Vector128.Create for ARM64 * Making implementation of IsFloatPositiveZero explicit * Update src/coreclr/jit/gentree.cpp Co-authored-by: NSingleAccretion <62474226+SingleAccretion@users.noreply.github.com> * Feedback * Update comment * Update comment * Do not perform optimization when VN CSE phase * use ResetHWIntrinsicId * Assert !optValnumCSE_phase * Simplify IsVectorZero * Simplify IsVectorZero * Simplify some uses of Vector*_get_Zero * Added another test * Fixed formatting * Revert lowering removal * Initial work for optimizations on VectorZero value numbering * Allowing all Vector.Zero to be constant prop'ed. Added VNFuncSimdTypeInfo. * Update gentree.h * Quick rename * Removed extra variable * Added default case * Format * Fixed vnDumpSimdType to take into account CorInfoType * Fixed gtNewSimdZeroNode to produce the right Vector*_get_Zero based on simdSize * Formatting * Feedback and a loop test * Added another test. Formatting fixes * Added GetSimdBaseJitPreciseType * Feedback * Minor fix * Minor comment update * Added another comment * Added another comment * Added another comment * Update comment * Formatting * Feedback * Fixing build * Feedback * Update assertionprop.cpp * Formatting Co-authored-by: NSingleAccretion <62474226+SingleAccretion@users.noreply.github.com>
Showing
想要评论请 注册 或 登录