-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create the new pass manager pipelines (#46175)
* Create basic NewPM structures * Replace incidental uses of the legacy pass manager with the new pass manager * Run the MC emitter
- Loading branch information
1 parent
6b51780
commit 2e0b75c
Showing
6 changed files
with
700 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
//Module passes | ||
#ifdef MODULE_PASS | ||
MODULE_PASS("CPUFeatures", CPUFeatures()) | ||
MODULE_PASS("RemoveNI", RemoveNI()) | ||
MODULE_PASS("LowerSIMDLoop", LowerSIMDLoop()) | ||
MODULE_PASS("FinalLowerGC", FinalLowerGCPass()) | ||
MODULE_PASS("JuliaMultiVersioning", MultiVersioning()) | ||
MODULE_PASS("RemoveJuliaAddrspaces", RemoveJuliaAddrspacesPass()) | ||
MODULE_PASS("RemoveAddrspaces", RemoveAddrspacesPass()) | ||
MODULE_PASS("LowerPTLSPass", LowerPTLSPass()) | ||
#endif | ||
|
||
//Function passes | ||
#ifdef FUNCTION_PASS | ||
FUNCTION_PASS("DemoteFloat16", DemoteFloat16()) | ||
FUNCTION_PASS("CombineMulAdd", CombineMulAdd()) | ||
FUNCTION_PASS("LateLowerGCFrame", LateLowerGC()) | ||
FUNCTION_PASS("AllocOpt", AllocOptPass()) | ||
FUNCTION_PASS("PropagateJuliaAddrspaces", PropagateJuliaAddrspacesPass()) | ||
FUNCTION_PASS("LowerExcHandlers", LowerExcHandlers()) | ||
FUNCTION_PASS("GCInvariantVerifier", GCInvariantVerifierPass()) | ||
#endif | ||
|
||
//Loop passes | ||
#ifdef LOOP_PASS | ||
LOOP_PASS("JuliaLICM", JuliaLICMPass()) | ||
#endif |
Oops, something went wrong.