mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-10 22:43:53 +00:00
Simplify checking for pointer types in BBVectorize (this change was suggested by Duncan).
llvm-svn: 154787
This commit is contained in:
parent
457fbe481c
commit
4f7adc1f50
@ -613,11 +613,8 @@ namespace {
|
||||
return false;
|
||||
|
||||
if ((!Config.VectorizePointers || TD == 0)
|
||||
&& ((T1->isPointerTy() ||
|
||||
(T1->isVectorTy() && T1->getScalarType()->isPointerTy())) ||
|
||||
(T2->isPointerTy() ||
|
||||
(T2->isVectorTy() && T2->getScalarType()->isPointerTy()))
|
||||
))
|
||||
&& (T1->getScalarType()->isPointerTy() ||
|
||||
T2->getScalarType()->isPointerTy()))
|
||||
return false;
|
||||
|
||||
if (T1->getPrimitiveSizeInBits() > Config.VectorBits/2 ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user