changeset 6473:6b87ff3af68f icedtea-2.6.8pre01

PR3209: Backed out changeset 0771982261c9
author andrew
date Fri, 28 Oct 2016 02:39:04 +0100
parents b2f113534842
children 4fe1f6b9a13b
files src/share/vm/opto/lcm.cpp
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/opto/lcm.cpp	Thu Oct 27 06:57:51 2016 +0100
+++ b/src/share/vm/opto/lcm.cpp	Fri Oct 28 02:39:04 2016 +0100
@@ -1068,14 +1068,11 @@
     Block *sb = _succs[i];
     // Clone the entire area; ignoring the edge fixup for now.
     for( uint j = end; j > beg; j-- ) {
+      // It is safe here to clone a node with anti_dependence
+      // since clones dominate on each path.
       Node *clone = _nodes[j-1]->clone();
       sb->_nodes.insert( 1, clone );
       bbs.map(clone->_idx,sb);
-#ifdef AARCH64
-      if (clone->needs_anti_dependence_check()) {
-        insert_anti_dependences(sb, clone);
-      }
-#endif
     }
   }