mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[SLPVectorizer] Assert that we find a LastInst to silence analyzer null dereference warning. NFCI.
llvm-svn: 371974
This commit is contained in:
parent
0df1509a7d
commit
e13e496c29
@ -3528,6 +3528,7 @@ void BoUpSLP::setInsertPointAfterBundle(TreeEntry *E) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
assert(LastInst && "Failed to find last instruction in bundle");
|
||||
|
||||
// Set the insertion point after the last instruction in the bundle. Set the
|
||||
// debug location to Front.
|
||||
|
Loading…
x
Reference in New Issue
Block a user