Skip to content

Commit c0450af

Browse files
committed
Fix: [DebugInfo] Support representation of multiple location operands in SDDbgValue
Removes a "default" label from a fully covered switch, causing errors on -Wcovered-switch-default builds.
1 parent cb3542e commit c0450af

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ class SDDbgOperand {
9393
return getVReg() == Other.getVReg();
9494
case FRAMEIX:
9595
return getFrameIx() == Other.getFrameIx();
96-
default:
97-
llvm_unreachable("unknown kind");
9896
}
9997
}
10098

0 commit comments

Comments
 (0)