craig.topper added a comment. Can also test a constant like 0xffffffff7fffffff which we can now do as ADDI+BCLRI. Similarly test a constant that allows ADDI+BSETI. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D111532/new/ https://reviews.llvm.org/D111532