Attempt to outwit overly smart compiler.
llvm-svn: 115251
diff --git a/llvm/lib/VMCore/Instructions.cpp b/llvm/lib/VMCore/Instructions.cpp
index 754d992..95348d91 100644
--- a/llvm/lib/VMCore/Instructions.cpp
+++ b/llvm/lib/VMCore/Instructions.cpp
@@ -2462,6 +2462,7 @@
if (const VectorType *SrcPTy = dyn_cast<VectorType>(SrcTy)) {
assert(SrcPTy->getBitWidth()==64 &&
"Casting vector of wrong width to X86_MMX");
+ SrcPTy = NULL; // inhibit compiler warning
return BitCast; // 64-bit vector to MMX
} else {
assert(!"Illegal cast to X86_MMX");