xor instruction in the optimized IR produces -3 as a result of 0 and -1. (See %$#1 = xor ... for both cases).
It incurs for alive-tv to report a false value mismatch alarm.
The lli result below, for the second case, demonstrates that those xor must produces -1.
https://alive2.llvm.org/ce/z/aUbdVr
https://alive2.llvm.org/ce/z/9kl88Y
xor
instruction in the optimized IR produces -3 as a result of 0 and -1. (See%$#1 = xor ...
for both cases). It incurs foralive-tv
to report a false value mismatch alarm.The
lli
result below, for the second case, demonstrates that thosexor
must produces -1.opt
is built from LLVM version: https://github.com/llvm/llvm-project/commits/56a1f0a022f6d7f6908af0df9e2e0567d5e4712e