提交 3ea3ddb8 编写于 作者: K kvn

7043552: regression after 7042327

Summary: Generate Opaque2 node only during first unroll.
Reviewed-by: never
上级 a0dc8908
......@@ -1230,7 +1230,7 @@ void PhaseIdealLoop::do_unroll( IdealLoopTree *loop, Node_List &old_new, bool ad
set_ctrl(new_limit, C->root());
} else {
// Limit is not constant.
{
if (loop_head->unrolled_count() == 1) { // only for first unroll
// Separate limit by Opaque node in case it is an incremented
// variable from previous loop to avoid using pre-incremented
// value which could increase register pressure.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册