[llvm] [InstSimplify] Simplify select if it combinated `and/or/xor` (PR #73362)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 6 09:03:19 PST 2023
================
@@ -4618,6 +4673,9 @@ static Value *simplifySelectWithICmpCond(Value *CondVal, Value *TrueVal,
}
}
+ if (Value *V = simplifySelectBitTestSpec(CmpLHS, CmpRHS, TrueVal, FalseVal))
+ return V;
+
----------------
goldsteinn wrote:
We should see test changes in this commit.
https://github.com/llvm/llvm-project/pull/73362
More information about the llvm-commits
mailing list