mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 06:33:21 +00:00
Cleanup. Get rid of extraneous variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115453 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7330d97069
commit
11bfe3e5bf
@ -2459,10 +2459,9 @@ CastInst::getCastOpcode(
|
|||||||
assert(!"Casting pointer to other than pointer or int");
|
assert(!"Casting pointer to other than pointer or int");
|
||||||
}
|
}
|
||||||
} else if (DestTy->isX86_MMXTy()) {
|
} else if (DestTy->isX86_MMXTy()) {
|
||||||
if (const VectorType *SrcPTy = dyn_cast<VectorType>(SrcTy)) {
|
if (isa<VectorType>(SrcTy)) {
|
||||||
assert(SrcPTy->getBitWidth()==64 &&
|
assert(cast<VectorType>(SrcTy)->getBitWidth() == 64 &&
|
||||||
"Casting vector of wrong width to X86_MMX");
|
"Casting vector of wrong width to X86_MMX");
|
||||||
SrcPTy = NULL; // inhibit compiler warning
|
|
||||||
return BitCast; // 64-bit vector to MMX
|
return BitCast; // 64-bit vector to MMX
|
||||||
} else {
|
} else {
|
||||||
assert(!"Illegal cast to X86_MMX");
|
assert(!"Illegal cast to X86_MMX");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user