diff options
author | Chris Lattner <sabre@nondot.org> | 2008-12-14 21:37:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-12-14 21:37:33 +0000 |
commit | 03a46989b61ec140885d53e85be32c2083bbde89 (patch) | |
tree | 2ab6dd13663eba78ba746fc5abeaf35c5f8f26c2 /lib | |
parent | 528f16b9fa3163d54d430b3a85e91e0730622bf9 (diff) | |
download | external_llvm-03a46989b61ec140885d53e85be32c2083bbde89.zip external_llvm-03a46989b61ec140885d53e85be32c2083bbde89.tar.gz external_llvm-03a46989b61ec140885d53e85be32c2083bbde89.tar.bz2 |
silence warning when asserts disabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61013 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/Alpha/AlphaInstrInfo.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Alpha/AlphaInstrInfo.td b/lib/Target/Alpha/AlphaInstrInfo.td index 531b7fa..28f3d1e 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 : SDNodeXForm<imm, [{ switch((uint64_t)N->getZExtValue()) { + 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<imm, [{ case 23: return getI64Imm(Alpha::FBGT); case 24: return getI64Imm(Alpha::FBLE); case 25: return getI64Imm(Alpha::FBLT); - default: assert(0 && "Unknown branch type"); } }]>; |