AIC33145

Results issues of AIC33145

### Description We observed a semantic difference after optimization when a `select` is transformed into an `and`. The issue involves `trunc nsw` with an `i1` destination. For the input `%c...

miscompilation
confirmed
llvm:instcombine

The following optimization changes the observable poison behavior of the program: ```llvm select i1 %c, i1 true, i1 %trunc ``` is transformed into: ```llvm or i1 %c, %trunc ``` These...

miscompilation
llvm:instcombine

The following optimization changes the observable poison behavior of the program: ```llvm select i1 %c, i1 false, i1 %trunc ``` is transformed into: ```llvm and i1 (xor i1 %c, true),...

miscompilation
llvm:instcombine

InstCombine appears to perform an invalid transformation of a masked XOR expression involving `freeze` in following cases. ```llvm define @in_constant_varx_6_invmask( %x, %mask) { %notmask = xor %mask, splat (i4 -1)...

llvm:instcombine
miscompilation:undef