Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Equals to 0 optimization in Boolean logic * Limit bool optimization to Integral return type only * Use the updated flowList:setEdgeWeights method with the 3rd parameter * Skip bool optimization for cases that require NOT transformation * Skip bool optimization when the third block GT_RETURN is not CNT_INT int * format patch * Added more bool optimization cases * format patch * Refactored setting fold type and comparison type to fix jitstress error * format patch * Refactored common codes for conditional block and return block boolean optimizations * format patch * Unit test changed to remove EH handling and add return value checks * Unit test: add back test cases for ANDing and NE cases * Made OptBoolsDsc struct to pass it off to the helper methods. * format patch * Changed to substructure OptTestInfo within OptBoolsDisc * Cleaned up tree variables in OptBoolsDsc struct * Moved some methods for Boolean Optimization to OptBoolsDsc struct * Moved all private methods for Boolean Optimization to OptBoolsDsc struct * Boolean Optimization: Handled code review feedback * Optimize bools: hoisted jump destination check to optOptimizeBools() and added test cases * format patch * Moved initialization to OptBoolsDsc constructor * format patch Co-authored-by: Julie Lee <[email protected]>
- Loading branch information