Displaying 2 results from an estimated 2 matches for "poison2".
Did you mean:
poison
2016 Dec 07
4
Killing undef and spreading poison
...of 'A op undef' may yield 0 and 1 (same for 'undef op B').
>> This one unfortunately breaks some algebraic rewrites like: x * -1
>> -> 0
>> - x
>>
>>
>> I've implemented both semantics in Alive (branches: newsema2 and
>> bitwise-poison2, respectively) and then we run Alive over a large set
>> of
>> optimizations to see which were ok and which became wrong.
>>
>> Many optimizations became wrong with either of the bitwise semantics.
>
> To be clear, "wrong" here means that the value resulting...
2016 Dec 06
2
RFC: Killing undef and spreading poison
...y): for an operation R = A op B, bit R[i] is poison if
bit i of 'A op undef' may yield 0 and 1 (same for 'undef op B').
This one unfortunately breaks some algebraic rewrites like: x * -1 -> 0
- x
I've implemented both semantics in Alive (branches: newsema2 and
bitwise-poison2, respectively) and then we run Alive over a large set of
optimizations to see which were ok and which became wrong.
Many optimizations became wrong with either of the bitwise semantics. But
the important ones are:
- We keep the problem of not being able to increase number of register uses
in an e...