mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 21:00:29 +00:00
Remove a vacuous check.
llvm-svn: 132938
This commit is contained in:
parent
934fdc5aba
commit
3614d9bec8
@ -289,7 +289,7 @@ AllocaInst *ConvertToScalarInfo::TryConvert(AllocaInst *AI) {
|
||||
// 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.
|
||||
const Type *NewTy;
|
||||
if (ScalarKind != Integer && VectorTy && HadAVector) {
|
||||
if (VectorTy && HadAVector) {
|
||||
DEBUG(dbgs() << "CONVERT TO VECTOR: " << *AI << "\n TYPE = "
|
||||
<< *VectorTy << '\n');
|
||||
NewTy = VectorTy; // Use the vector type.
|
||||
|
Loading…
Reference in New Issue
Block a user