mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 06:32:24 +00:00
Simplify checking for pointer types in BBVectorize (this change was suggested by Duncan).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154787 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
31490baf38
commit
831a6e86d5
@ -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