From: Chris Lattner Date: Sun, 14 Dec 2008 21:37:33 +0000 (+0000) Subject: silence warning when asserts disabled. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=03a46989b61ec140885d53e85be32c2083bbde89;p=oota-llvm.git silence warning when asserts disabled. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61013 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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;