projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8aba6a6
)
Revert 239644.
author
Matt Wala
<wala@google.com>
Sat, 13 Jun 2015 01:08:00 +0000
(
01:08
+0000)
committer
Matt Wala
<wala@google.com>
Sat, 13 Jun 2015 01:08:00 +0000
(
01:08
+0000)
llvm-svn: 239650
llvm/lib/Transforms/Scalar/Scalarizer.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/Scalar/Scalarizer.cpp
b/llvm/lib/Transforms/Scalar/Scalarizer.cpp
index
7144fd3
..
d55dc6a
100644
(file)
--- a/
llvm/lib/Transforms/Scalar/Scalarizer.cpp
+++ b/
llvm/lib/Transforms/Scalar/Scalarizer.cpp
@@
-636,9
+636,7
@@
bool Scalarizer::visitStoreInst(StoreInst &SI) {
// Delete the instructions that we scalarized. If a full vector result
// is still needed, recreate it using InsertElements.
bool Scalarizer::finish() {
- // The presence of data in Gathered or Scattered indicates changes
- // made to the Function.
- if (Gathered.empty() && Scattered.empty())
+ if (Gathered.empty())
return false;
for (GatherList::iterator GMI = Gathered.begin(), GME = Gathered.end();
GMI != GME; ++GMI) {