Changeset 195653 in webkit


Ignore:
Timestamp:
Jan 26, 2016 7:49:35 PM (8 years ago)
Author:
fpizlo@apple.com
Message:

Tail duplication should break critical edges first
https://bugs.webkit.org/show_bug.cgi?id=153530

Reviewed by Benjamin Poulain.

This speeds up Octane/boyer.

  • b3/B3DuplicateTails.cpp:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r195644 r195653  
     12016-01-26  Filip Pizlo  <fpizlo@apple.com>
     2
     3        Tail duplication should break critical edges first
     4        https://bugs.webkit.org/show_bug.cgi?id=153530
     5
     6        Reviewed by Benjamin Poulain.
     7
     8        This speeds up Octane/boyer.
     9
     10        * b3/B3DuplicateTails.cpp:
     11
    1122016-01-26  Joseph Pecoraro  <pecoraro@apple.com>
    213
  • trunk/Source/JavaScriptCore/b3/B3DuplicateTails.cpp

    r195434 r195653  
    3030
    3131#include "B3BasicBlockInlines.h"
     32#include "B3BreakCriticalEdges.h"
    3233#include "B3ControlValue.h"
    3334#include "B3Dominators.h"
     
    5960    void run()
    6061    {
     62        // Breaking critical edges introduces blocks that jump to things. Those Jumps' successors
     63        // become candidates for tail duplication. Prior to critical edge breaking, some of those
     64        // Jumps would have been Branches, and so no tail duplication would have happened.
     65        breakCriticalEdges(m_proc);
     66       
    6167        // Find blocks that would be candidates for tail duplication. They must be small enough
    6268        // and they much not have too many successors.
Note: See TracChangeset for help on using the changeset viewer.