diff options
-rw-r--r-- | include/llvm/Target/TargetLowering.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index fd2caf8bf8..f6bd676277 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 |