changeset 6465:fff29c78ee40

PR3209: Backed out changeset 3cc3ab869ccf
author andrew
date Thu, 27 Oct 2016 18:25:25 +0100
parents f23cc792224c
children 2ab0ba56ac3a
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	Thu Oct 27 18:25:25 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
     }
   }