[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 09:15:50 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:
Don't reformat unrelated code
https://github.com/llvm/llvm-project/pull/77973
More information about the llvm-commits
mailing list