[llvm] [InstSimplify] Handle trunc to i1 in Select with bit test folds. (PR #122944)

Andreas Jonson via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 25 23:37:05 PST 2025


andjo403 wrote:

Hmm have tested this with a local run of llvm-opt-benchmark after folding [fold icmp ne (and X, 1), 0 --> trunc X to N x i1](https://github.com/llvm/llvm-project/compare/main...andjo403:llvm-project:icmpToTrunc) and there is still no changes with this fold shall I abandon this commit?

https://github.com/llvm/llvm-project/pull/122944


More information about the llvm-commits mailing list