From: Evan Cheng Date: Fri, 12 Jan 2007 22:30:07 +0000 (+0000) Subject: Silence a bogus compiler warning. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=9f7f49caa46d00d455c8ae5152e4412dd5eed26d;p=oota-llvm.git Silence a bogus compiler warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33145 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index fd2caf8bf8f..f6bd676277e 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -444,6 +444,7 @@ public: case Type::PointerTyID: return PointerTy; case Type::PackedTyID: return MVT::Vector; } + return MVT::isVoid; // Silence a compiler warning. } /// getNumElements - Return the number of registers that this ValueType will