forked from Huxpro/huxblog-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize pass examples in C in llvm 15 #33
Comments
Tail Recursion Eliminationhttps://godbolt.org/z/YM7v4n3G9 code:
cmd: |
GlobalOptSROA(scalar replacement of aggregates)https://godbolt.org/z/13jKve8Ef
cmd: OptimizeGlobalAddressOfAllocationbodyhttps://godbolt.org/z/qxx1aMWhM
inithttps://godbolt.org/z/37hevohzd
ShrinkGlobalToBooleanhttps://godbolt.org/z/n4rqj6Tec
|
PartialInlininghttps://godbolt.org/z/76dvM8MKn
cmd: |
Constant Propagation and Dead Argument Eliminationhttps://godbolt.org/z/fd3M1s5Yq
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hope to test the special optimize pass easily
The text was updated successfully, but these errors were encountered: