Silence a bogus compiler warning.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 12 Jan 2007 22:30:07 +0000 (22:30 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 12 Jan 2007 22:30:07 +0000 (22:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33145 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetLowering.h

index fd2caf8bf8fe19bf6d5f73d1dbd7e3a4bbdcccad..f6bd676277e7cda5f28ba67332524e1ae675b307 100644 (file)
@@ -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