From 03a46989b61ec140885d53e85be32c2083bbde89 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 14 Dec 2008 21:37:33 +0000 Subject: [PATCH] silence warning when asserts disabled. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61013 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Alpha/AlphaInstrInfo.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/Alpha/AlphaInstrInfo.td b/lib/Target/Alpha/AlphaInstrInfo.td index 531b7fa3cd8..28f3d1e33bc 100644 --- a/lib/Target/Alpha/AlphaInstrInfo.td +++ b/lib/Target/Alpha/AlphaInstrInfo.td @@ -861,6 +861,7 @@ def FBNE : br_fcc<0x36, "fbne">; //An ugly trick to get the opcode as an imm I can use def immBRCond : SDNodeXFormgetZExtValue()) { + default: assert(0 && "Unknown branch type"); case 0: return getI64Imm(Alpha::BEQ); case 1: return getI64Imm(Alpha::BNE); case 2: return getI64Imm(Alpha::BGE); @@ -875,7 +876,6 @@ def immBRCond : SDNodeXForm; -- 2.34.1