mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-17 15:38:40 +00:00
Fix build break.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203366 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
36b699f2b1
commit
9c3328fc7f
@ -1654,6 +1654,7 @@ Value *BoUpSLP::vectorizeTree() {
|
|||||||
|
|
||||||
Type *Ty = Scalar->getType();
|
Type *Ty = Scalar->getType();
|
||||||
if (!Ty->isVoidTy()) {
|
if (!Ty->isVoidTy()) {
|
||||||
|
#ifndef NDEBUG
|
||||||
for (User *U : Scalar->users()) {
|
for (User *U : Scalar->users()) {
|
||||||
DEBUG(dbgs() << "SLP: \tvalidating user:" << *U << ".\n");
|
DEBUG(dbgs() << "SLP: \tvalidating user:" << *U << ".\n");
|
||||||
|
|
||||||
@ -1662,6 +1663,7 @@ Value *BoUpSLP::vectorizeTree() {
|
|||||||
(RdxOps && RdxOps->count(U))) &&
|
(RdxOps && RdxOps->count(U))) &&
|
||||||
"Replacing out-of-tree value with undef");
|
"Replacing out-of-tree value with undef");
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
Value *Undef = UndefValue::get(Ty);
|
Value *Undef = UndefValue::get(Ty);
|
||||||
Scalar->replaceAllUsesWith(Undef);
|
Scalar->replaceAllUsesWith(Undef);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user