[llvm] [InstCombine] Resolve TODO: Remove one-time check if other logic operand (Y) is constant (PR #77973)
Jessica Clarke via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 19 10:25:23 PST 2024
================
@@ -689,7 +690,8 @@ static Value *getShiftedValue(Value *V, unsigned NumBits, bool isLeftShift,
IC.addToWorklist(I);
switch (I->getOpcode()) {
- default: llvm_unreachable("Inconsistency with CanEvaluateShifted");
----------------
jrtc27 wrote:
Use git clang-format rather than formatting the whole file. Or just `git add -p` / `git checkout -p` / etc to select which diffs you want.
https://github.com/llvm/llvm-project/pull/77973
More information about the llvm-commits
mailing list