Skip to content

[BACKEND] Add LLVM pre-processing pass to break struct types#2285

Merged
ptillet merged 1 commit intotriton-lang:mainfrom
ThomasRaoux:vector3
Sep 13, 2023
Merged

[BACKEND] Add LLVM pre-processing pass to break struct types#2285
ptillet merged 1 commit intotriton-lang:mainfrom
ThomasRaoux:vector3

Conversation

@ThomasRaoux
Copy link
Copy Markdown
Collaborator

@ThomasRaoux ThomasRaoux commented Sep 12, 2023

Add infrastructure to be able to add and test custom LLVM passes in the backend. This will allow use to apply some low level optimizations and cleanup on LLVM IR.
Add a first pass that breaks up phi of struct created by lowering to LLVM. Those can often pessimise the optimizer as it would block optimizations going through phi nodes.

Add infrastructure to be able to add and test custom LLVM passes
in the backend. This will allow use to apply some level level optimizations
and cleanup on LLVM IR.
Add a first pass that breaks up phi of struct created by lowering to LLVM.
Those can often pessimise the optimizer as it would block optimizations going through
phi nodes.
@github-actions
Copy link
Copy Markdown

⚠️ This PR does not produce bitwise identical kernels as the branch it's merged against. Please check artifacts for details. Download the output file here.

@Jokeren
Copy link
Copy Markdown
Contributor

Jokeren commented Sep 12, 2023

This will allow use to apply some level level optimizations and cleanup on LLVM IR.

level level -> low level?

@ptillet ptillet merged commit d3956a2 into triton-lang:main Sep 13, 2023
alexander-zinoviev pushed a commit to alexander-zinoviev/triton that referenced this pull request Sep 21, 2023
…lang#2285)

Add infrastructure to be able to add and test custom LLVM passes in the
backend. This will allow use to apply some low level optimizations and
cleanup on LLVM IR.
Add a first pass that breaks up phi of struct created by lowering to
LLVM. Those can often pessimise the optimizer as it would block
optimizations going through phi nodes.
pingzhuu pushed a commit to siliconflow/triton that referenced this pull request Apr 2, 2024
…lang#2285)

Add infrastructure to be able to add and test custom LLVM passes in the
backend. This will allow use to apply some low level optimizations and
cleanup on LLVM IR.
Add a first pass that breaks up phi of struct created by lowering to
LLVM. Those can often pessimise the optimizer as it would block
optimizations going through phi nodes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants