mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Attempt to outwit overly smart compiler.
llvm-svn: 115251
This commit is contained in:
parent
51bf690108
commit
f97d3fcccd
@ -2462,6 +2462,7 @@ CastInst::getCastOpcode(
|
||||
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");
|
||||
|
Loading…
Reference in New Issue
Block a user