aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target/TargetLowering.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-01-12 22:30:07 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-01-12 22:30:07 +0000
commit9f7f49caa46d00d455c8ae5152e4412dd5eed26d (patch)
treecb87d0a3d829816d11a7bc6c7832765f3aeeb14d /include/llvm/Target/TargetLowering.h
parenta82d4078502b7cfcaa553dbf845c948a99f05ab5 (diff)
downloadexternal_llvm-9f7f49caa46d00d455c8ae5152e4412dd5eed26d.zip
external_llvm-9f7f49caa46d00d455c8ae5152e4412dd5eed26d.tar.gz
external_llvm-9f7f49caa46d00d455c8ae5152e4412dd5eed26d.tar.bz2
Silence a bogus compiler warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33145 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetLowering.h')
-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 fd2caf8..f6bd676 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