[llvm] [InstSimplify] Simplify select if it combinated `and/or/xor` (PR #73362)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 10 01:17:09 PST 2024
================
@@ -4618,6 +4673,9 @@ static Value *simplifySelectWithICmpCond(Value *CondVal, Value *TrueVal,
}
}
+ if (Value *V = simplifySelectBitTestSpec(CmpLHS, CmpRHS, TrueVal, FalseVal))
+ return V;
+
----------------
ParkHanbum wrote:
it passed~!
https://github.com/llvm/llvm-project/pull/73362
More information about the llvm-commits
mailing list