-
Notifications
You must be signed in to change notification settings - Fork 33
Update Project.toml #705
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
Update Project.toml #705
Conversation
d742289 to
4e39a42
Compare
| end | ||
| end | ||
|
|
||
| function vendored_buildEarlyOptimizerPipeline(mpm, @nospecialize(job), opt_level; instcombine=false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
| function vendored_buildEarlyOptimizerPipeline(mpm, @nospecialize(job), opt_level; instcombine=false) | |
| function vendored_buildEarlyOptimizerPipeline( | |
| mpm, @nospecialize(job), opt_level; instcombine=false | |
| ) |
| end | ||
| end | ||
|
|
||
| function vendored_buildIntrinsicLoweringPipeline(mpm, @nospecialize(job), opt_level; instcombine::Bool=false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
| function vendored_buildIntrinsicLoweringPipeline(mpm, @nospecialize(job), opt_level; instcombine::Bool=false) | |
| function vendored_buildIntrinsicLoweringPipeline( | |
| mpm, @nospecialize(job), opt_level; instcombine::Bool=false | |
| ) |
| else | ||
| LLVM.add!(fpm, LLVM.InstSimplifyPass()) | ||
| end | ||
| LLVM.add!(fpm, LLVM.SimplifyCFGPass(; GPUCompiler.AggressiveSimplifyCFGOptions...)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
| LLVM.add!(fpm, LLVM.SimplifyCFGPass(; GPUCompiler.AggressiveSimplifyCFGOptions...)) | |
| LLVM.add!( | |
| fpm, LLVM.SimplifyCFGPass(; GPUCompiler.AggressiveSimplifyCFGOptions...) | |
| ) |
|
|
||
| # Julia's operand bundles confuse the inliner, so repeat here now they are gone. | ||
| # FIXME: we should fix the inliner so that inlined code gets optimized early-on | ||
| LLVM.add!(mpm, LLVM.AlwaysInlinerPass()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
| LLVM.add!(mpm, LLVM.AlwaysInlinerPass()) | |
| return LLVM.add!(mpm, LLVM.AlwaysInlinerPass()) |
| # end | ||
| end | ||
| vendored_buildIntrinsicLoweringPipeline(mpm, job, opt_level) | ||
| GPUCompiler.buildCleanupPipeline(mpm, job, opt_level) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
| GPUCompiler.buildCleanupPipeline(mpm, job, opt_level) | |
| return GPUCompiler.buildCleanupPipeline(mpm, job, opt_level) |
| const DEBUG_KERNEL = Ref{Bool}(false) | ||
| const DUMP_LLVMIR = Ref{Bool}(false) | ||
|
|
||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
| opt_passes2, | ||
| kern, | ||
| raise, | ||
| jit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
| jit | |
| jit, |
| "remove-unnecessary-enzyme-ops", | ||
| "enzyme-simplify-math", | ||
| opt_passes2, | ||
| kern |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
| kern | |
| kern, |
| opt_passes2, | ||
| kern, | ||
| raise, | ||
| jit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
| jit | |
| jit, |
| mod, join([ | ||
| "canonicalize,remove-unnecessary-enzyme-ops,enzyme-simplify-math", | ||
| kern, | ||
| raise, | ||
| jit | ||
| ], ',') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
| mod, join([ | |
| "canonicalize,remove-unnecessary-enzyme-ops,enzyme-simplify-math", | |
| kern, | |
| raise, | |
| jit | |
| ], ',') | |
| mod, | |
| join( | |
| [ | |
| "canonicalize,remove-unnecessary-enzyme-ops,enzyme-simplify-math", | |
| kern, | |
| raise, | |
| jit, | |
| ], | |
| ',', | |
| ), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.