mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-24 08:24:33 +00:00
Remove a vacuous check.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132938 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -289,7 +289,7 @@ AllocaInst *ConvertToScalarInfo::TryConvert(AllocaInst *AI) {
|
|||||||
// we just get a lot of insert/extracts. If at least one vector is
|
// we just get a lot of insert/extracts. If at least one vector is
|
||||||
// involved, then we probably really do have a union of vector/array.
|
// involved, then we probably really do have a union of vector/array.
|
||||||
const Type *NewTy;
|
const Type *NewTy;
|
||||||
if (ScalarKind != Integer && VectorTy && HadAVector) {
|
if (VectorTy && HadAVector) {
|
||||||
DEBUG(dbgs() << "CONVERT TO VECTOR: " << *AI << "\n TYPE = "
|
DEBUG(dbgs() << "CONVERT TO VECTOR: " << *AI << "\n TYPE = "
|
||||||
<< *VectorTy << '\n');
|
<< *VectorTy << '\n');
|
||||||
NewTy = VectorTy; // Use the vector type.
|
NewTy = VectorTy; // Use the vector type.
|
||||||
|
Reference in New Issue
Block a user