[InstCombine] canonicalize 'not' ahead of bitcast+sext
not (bitcast (sext i1 X)) --> bitcast (sext (not i1 X)) https://alive2.llvm.org/ce/z/-6Ygkd This shows up as a potential regression if we change canonicalization of ashr+not to icmp+sext.
Loading
Please sign in to comment