[llvm] c0450af - Fix: [DebugInfo] Support representation of multiple location operands in SDDbgValue
Stephen Tozer via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 8 11:15:05 PST 2021
Author: Stephen Tozer
Date: 2021-03-08T19:14:12Z
New Revision: c0450af55996930cf3ba927fb79e36fe97219144
URL: https://github.com/llvm/llvm-project/commit/c0450af55996930cf3ba927fb79e36fe97219144
DIFF: https://github.com/llvm/llvm-project/commit/c0450af55996930cf3ba927fb79e36fe97219144.diff
LOG: 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.
Added:
Modified:
llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h b/llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h
index d42481e9a1b5..c0c62b93661f 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h
+++ b/llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h
@@ -93,8 +93,6 @@ class SDDbgOperand {
return getVReg() == Other.getVReg();
case FRAMEIX:
return getFrameIx() == Other.getFrameIx();
- default:
- llvm_unreachable("unknown kind");
}
}
More information about the llvm-commits
mailing list