Changeset 153260 in webkit


Ignore:
Timestamp:
Jul 24, 2013, 9:04:12 PM (12 years ago)
Author:
oliver@apple.com
Message:

fourthTier: FTL should run LICM after AA setup
https://bugs.webkit.org/show_bug.cgi?id=118277

Reviewed by Maciej Stachowiak.

LICM queries alias analysis. Hence, just like GVN, it should run after
we have set up the alias analysis.

  • ftl/FTLCompile.cpp:

(JSC::FTL::compile):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r153259 r153260  
     12013-07-01  Filip Pizlo  <fpizlo@apple.com>
     2
     3        fourthTier: FTL should run LICM after AA setup
     4        https://bugs.webkit.org/show_bug.cgi?id=118277
     5
     6        Reviewed by Maciej Stachowiak.
     7       
     8        LICM queries alias analysis. Hence, just like GVN, it should run after
     9        we have set up the alias analysis.
     10
     11        * ftl/FTLCompile.cpp:
     12        (JSC::FTL::compile):
     13
    1142013-07-01  Filip Pizlo  <fpizlo@apple.com>
    215
  • trunk/Source/JavaScriptCore/ftl/FTLCompile.cpp

    r153259 r153260  
    106106    LLVMAddInstructionCombiningPass(pass);
    107107    LLVMAddPromoteMemoryToRegisterPass(pass);
     108    LLVMAddBasicAliasAnalysisPass(pass);
     109    LLVMAddTypeBasedAliasAnalysisPass(pass);
    108110    if (Options::enableLLVMLICM())
    109111        LLVMAddLICMPass(pass);
    110     LLVMAddBasicAliasAnalysisPass(pass);
    111     LLVMAddTypeBasedAliasAnalysisPass(pass);
    112112    LLVMAddGVNPass(pass);
    113113    LLVMAddCFGSimplificationPass(pass);
Note: See TracChangeset for help on using the changeset viewer.