Files
clang-p2996/llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
Andreas Jonson aa847ced07 [InstCombine] handle trunc to i1 in foldSelectICmpAndBinOp (#127390)
for `trunc nuw` saves a instruction and otherwise only other
instructions without the select, same behavior as for bit test before.

proof: https://alive2.llvm.org/ce/z/a6QmyV
2025-02-19 18:29:47 +01:00

168 KiB