loopopts.cpp (293:c3e045194476) | loopopts.cpp (318:60bc5071073f) |
---|---|
1/* 2 * Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. 8 * --- 918 unchanged lines hidden (view full) --- 927 // cloned x's will common up and undo this optimization and 928 // be forced back in the loop. This is annoying because it 929 // makes +VerifyOpto report false-positives on progress. I 930 // tried setting control edges on the x's to force them to 931 // not combine, but the matching gets worried when it tries 932 // to fold a StoreP and an AddP together (as part of an 933 // address expression) and the AddP and StoreP have 934 // different controls. | 1/* 2 * Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. 8 * --- 918 unchanged lines hidden (view full) --- 927 // cloned x's will common up and undo this optimization and 928 // be forced back in the loop. This is annoying because it 929 // makes +VerifyOpto report false-positives on progress. I 930 // tried setting control edges on the x's to force them to 931 // not combine, but the matching gets worried when it tries 932 // to fold a StoreP and an AddP together (as part of an 933 // address expression) and the AddP and StoreP have 934 // different controls. |
935 if( !x->is_Load() ) _igvn._worklist.yank(x); | 935 if( !x->is_Load() && !x->is_DecodeN() ) _igvn._worklist.yank(x); |
936 } 937 _igvn.remove_dead_node(n); 938 } 939 } 940 } 941 } 942 943 // Check for Opaque2's who's loop has disappeared - who's input is in the --- 1768 unchanged lines hidden --- | 936 } 937 _igvn.remove_dead_node(n); 938 } 939 } 940 } 941 } 942 943 // Check for Opaque2's who's loop has disappeared - who's input is in the --- 1768 unchanged lines hidden --- |