RKSimon added a comment. I've raised https://bugs.llvm.org/show_bug.cgi?id=51129 to track adding a llvm::isGuaranteedNotToBePoison(SDValue) helper method CHANGES SINCE LAST ACTION https://reviews.llvm.org/D106053/new/ https://reviews.llvm.org/D106053