[llvm] [VectorCombine] Remove disjoint flag in `foldbitopofcastops` and `foldBitOpOfCastConstant` (PR #199873)

Iris Shi via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 27 20:11:58 PDT 2026


================
@@ -949,6 +949,11 @@ bool VectorCombine::foldBitOpOfCastops(Instruction &I) {
   if (auto *NewBinOp = dyn_cast<BinaryOperator>(NewOp))
     NewBinOp->copyIRFlags(BinOp);
----------------
el-ev wrote:

I'm not sure. Some existing flags surely can be preserved here...

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


More information about the llvm-commits mailing list