[llvm] [InstCombine] Resolve TODO: Remove one-time check if other logic operand (Y) is constant (PR #77973)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 19 10:23:54 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");
----------------
AtariDreams wrote:
I don't know why clang-format does that but I am trying to remove these changes.
https://github.com/llvm/llvm-project/pull/77973
More information about the llvm-commits
mailing list