[llvm] [WASM] Fold bitselect with splat zero (PR #147305)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 9 10:17:52 PDT 2025
================
@@ -13158,6 +13158,14 @@ static SDValue combineVSelectWithAllOnesOrZeros(SDValue Cond, SDValue TVal,
return DAG.getBitcast(VT, Or);
}
+ // select Cond, 0, x → and (Cond, !x)
----------------
badumbatish wrote:
sorry about this, will rebase after the other PR will resolve
https://github.com/llvm/llvm-project/pull/147305
More information about the llvm-commits
mailing list