1 ; This bug has to do with the fact that constant propagation was implemented in
2 ; terms of _logical_ not (! in C) instead of _bitwise_ not (~ in C). This was
3 ; due to a spec change.
5 ; Fix #2: The unary not instruction now no longer exists. Change to xor.
7 ; RUN: opt < %s -passes=instsimplify -S | \
8 ; RUN: not grep "i32 0"
11 %R = xor i32 123, -1 ; <i32> [#uses=1]
16 %R = xor i32 -123, -1 ; <i32> [#uses=1]