diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-01-12 22:30:07 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-01-12 22:30:07 +0000 |
commit | 9f7f49caa46d00d455c8ae5152e4412dd5eed26d (patch) | |
tree | cb87d0a3d829816d11a7bc6c7832765f3aeeb14d | |
parent | a82d4078502b7cfcaa553dbf845c948a99f05ab5 (diff) |
Silence a bogus compiler warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33145 91177308-0d34-0410-b5e6-96231b3b80d8
-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 |