mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Revert 239644.
llvm-svn: 239650
This commit is contained in:
parent
ddc656df8e
commit
15e876374e
@ -636,9 +636,7 @@ bool Scalarizer::visitStoreInst(StoreInst &SI) {
|
|||||||
// Delete the instructions that we scalarized. If a full vector result
|
// Delete the instructions that we scalarized. If a full vector result
|
||||||
// is still needed, recreate it using InsertElements.
|
// is still needed, recreate it using InsertElements.
|
||||||
bool Scalarizer::finish() {
|
bool Scalarizer::finish() {
|
||||||
// The presence of data in Gathered or Scattered indicates changes
|
if (Gathered.empty())
|
||||||
// made to the Function.
|
|
||||||
if (Gathered.empty() && Scattered.empty())
|
|
||||||
return false;
|
return false;
|
||||||
for (GatherList::iterator GMI = Gathered.begin(), GME = Gathered.end();
|
for (GatherList::iterator GMI = Gathered.begin(), GME = Gathered.end();
|
||||||
GMI != GME; ++GMI) {
|
GMI != GME; ++GMI) {
|
||||||
|
Loading…
Reference in New Issue
Block a user