Description[TurboFan] Calculate precise ranges for bitwise-or with positive input ranges.
The ranges computed for the bitwise-or operation, by the TurboFan typer, are currently very loose. Might as well compute the precise range, and this patch makes a start by doing so when the input ranges are positive. It also moves some simple and common special cases to the start.
BUG=
Patch Set 1 #
Total comments: 1
Patch Set 2 : Comment the source code and add unit tests #Patch Set 3 : Precise bitwise-or result type derivation for all int32_t input ranges. #Patch Set 4 : Minor cleanup. #Patch Set 5 : Address some of the feedback. #Patch Set 6 : Split the bitwise-and result type derivation into a separate function. #Patch Set 7 : Split the bitwise-or type derivation into a separate function. #
Messages
Total messages: 11 (4 generated)
|