Title: [170022] trunk/Source/_javascript_Core
- Revision
- 170022
- Author
- [email protected]
- Date
- 2014-06-16 12:27:46 -0700 (Mon, 16 Jun 2014)
Log Message
Change the order of the alias analysis passes to align with the opt pipeline of LLVM
https://bugs.webkit.org/show_bug.cgi?id=133753
Patch by Juergen Ributzka <[email protected]> on 2014-06-16
Reviewed by Geoffrey Garen.
The order in which the alias analysis passes are added affects also the
order in which they are utilized. Change the order to align with the
one use by LLVM itself. The last alias analysis pass added will be
evaluated first. With this change we first perform a basic alias
analysis and then use the type-based alias analysis (if required).
* ftl/FTLCompile.cpp:
(JSC::FTL::compile):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (170021 => 170022)
--- trunk/Source/_javascript_Core/ChangeLog 2014-06-16 19:26:49 UTC (rev 170021)
+++ trunk/Source/_javascript_Core/ChangeLog 2014-06-16 19:27:46 UTC (rev 170022)
@@ -1,5 +1,21 @@
2014-06-16 Juergen Ributzka <[email protected]>
+ Change the order of the alias analysis passes to align with the opt pipeline of LLVM
+ https://bugs.webkit.org/show_bug.cgi?id=133753
+
+ Reviewed by Geoffrey Garen.
+
+ The order in which the alias analysis passes are added affects also the
+ order in which they are utilized. Change the order to align with the
+ one use by LLVM itself. The last alias analysis pass added will be
+ evaluated first. With this change we first perform a basic alias
+ analysis and then use the type-based alias analysis (if required).
+
+ * ftl/FTLCompile.cpp:
+ (JSC::FTL::compile):
+
+2014-06-16 Juergen Ributzka <[email protected]>
+
Fix the arguments passed to the LLVM dylib
https://bugs.webkit.org/show_bug.cgi?id=133757
Modified: trunk/Source/_javascript_Core/ftl/FTLCompile.cpp (170021 => 170022)
--- trunk/Source/_javascript_Core/ftl/FTLCompile.cpp 2014-06-16 19:26:49 UTC (rev 170021)
+++ trunk/Source/_javascript_Core/ftl/FTLCompile.cpp 2014-06-16 19:27:46 UTC (rev 170022)
@@ -526,8 +526,8 @@
llvm->AddPromoteMemoryToRegisterPass(modulePasses);
llvm->AddConstantPropagationPass(modulePasses);
llvm->AddInstructionCombiningPass(modulePasses);
+ llvm->AddTypeBasedAliasAnalysisPass(modulePasses);
llvm->AddBasicAliasAnalysisPass(modulePasses);
- llvm->AddTypeBasedAliasAnalysisPass(modulePasses);
llvm->AddGVNPass(modulePasses);
llvm->AddCFGSimplificationPass(modulePasses);
llvm->AddDeadStoreEliminationPass(modulePasses);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes