Add optimization "X & 1 == 1" to "X & 1" (#61412) (#62818)
* Add optimization "X & 1 == 1" to "X & 1" (#61412) * Moved the optimization to the morph phase (#61412) * Done in post-order (#61412) * Moved the optimization into fgOptimizeEqualityComparisonWithConst (#61412) * Some corrections due the comments (#61412) * Fix of the picture (#61412) * Add optNarrowTree use (#61412) * Change narrowing to the type check (#61412) * Fix regressions (#61412) * Moved the optimization to the lowering phase (#61412) * Reverted Morph changes (#61412) * Moved the optimization into OptimizeConstCompare method (#61412) * Add GT_EQ check(#61412)
Showing
想要评论请 注册 或 登录