File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2161,7 +2161,11 @@ void Compile::shuffle_late_inlines() {
21612161 shuffle_array (*C, _late_inlines);
21622162}
21632163
2164- void Compile::transfer_vector_late_inlines () {
2164+ void Compile::process_vector_late_inlines () {
2165+ if (live_nodes () > (uint)LiveNodeCountInliningCutoff) {
2166+ _vector_late_inlines.clear ();
2167+ return ;
2168+ }
21652169 for (int i = 0 ; i < _vector_late_inlines.length (); i++) {
21662170 CallGenerator* cg = _vector_late_inlines.at (i);
21672171 // When a vector intrinsic fails, set_generator(cg) caches the
@@ -2237,8 +2241,8 @@ void Compile::inline_incrementally(PhaseIterGVN& igvn) {
22372241
22382242 if (failing ()) return ;
22392243
2240- if (_late_inlines.length () == 0 && _vector_late_inlines. length () > 0 ) {
2241- transfer_vector_late_inlines ();
2244+ if (_late_inlines.length () == 0 ) {
2245+ process_vector_late_inlines ();
22422246 }
22432247 }
22442248
Original file line number Diff line number Diff line change @@ -513,7 +513,7 @@ class Compile : public Phase {
513513 void add_vector_late_inline (CallGenerator* cg) {
514514 _vector_late_inlines.push (cg);
515515 }
516- void transfer_vector_late_inlines ();
516+ void process_vector_late_inlines ();
517517
518518 void * barrier_set_state () const { return _barrier_set_state; }
519519
You can’t perform that action at this time.
0 commit comments