aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Target/TargetLowering.h1
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