8154939: 8153998 broke vectorization on aarch64
authorroland
Wed, 27 Apr 2016 01:14:07 -0700
changeset 38136 e11f9d894322
parent 38135 e06e2d071465
child 38137 55c5f1d1ba6c
8154939: 8153998 broke vectorization on aarch64 Reviewed-by: kvn, mcberg
hotspot/src/share/vm/opto/superword.cpp
--- a/hotspot/src/share/vm/opto/superword.cpp	Tue Apr 26 21:54:21 2016 -0700
+++ b/hotspot/src/share/vm/opto/superword.cpp	Wed Apr 27 01:14:07 2016 -0700
@@ -119,7 +119,7 @@
 
   // skip any loop that has not been assigned max unroll by analysis
   if (do_optimization) {
-    if (cl->slp_max_unroll() == 0) return;
+    if (SuperWordLoopUnrollAnalysis && cl->slp_max_unroll() == 0) return;
   }
 
   // Check for no control flow in body (other than exit)