diff src/share/vm/opto/lcm.cpp @ 17726:085b304a1cc5

8027754: Enable loop optimizations for loops with MathExact inside Reviewed-by: kvn, iveresov
author rbackman
date Thu, 23 Jan 2014 12:08:28 +0100
parents 55fb97c4c58d
children 62c54fcc0a35
line wrap: on
line diff
--- a/src/share/vm/opto/lcm.cpp	Thu Mar 13 10:18:59 2014 -0700
+++ b/src/share/vm/opto/lcm.cpp	Thu Jan 23 12:08:28 2014 +0100
@@ -472,13 +472,6 @@
           break;
         }
 
-        // For nodes that produce a FlagsProj, make the node adjacent to the
-        // use of the FlagsProj
-        if (use->is_FlagsProj() && get_block_for_node(use) == block) {
-          found_machif = true;
-          break;
-        }
-
         // More than this instruction pending for successor to be ready,
         // don't choose this if other opportunities are ready
         if (ready_cnt.at(use->_idx) > 1)