silence warning when asserts disabled.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61013 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2008-12-14 21:37:33 +00:00
parent 528f16b9fa
commit 03a46989b6

View File

@ -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");
}
}]>;