Skip to content

Conversation

@chsigg
Copy link
Collaborator

@chsigg chsigg commented Feb 20, 2025

  • build lld as well.
  • amd gfx940 and gfx941 were removed.
  • createConvertSCFToCFPass was renamed to createSCFToControlFlowPass.
  • scf.for folder was introduced to remove duplicate variables.
  • fixes wait states of gfx950 mfma ops.

Comment on lines 1117 to 1122
Attribute removeArgAttrsAttr() { return nullptr; }
Attribute removeResAttrsAttr() { return nullptr; }
ArrayAttr getArgAttrsAttr() { return nullptr; }
ArrayAttr getResAttrsAttr() { return nullptr; }
void setArgAttrsAttr(ArrayAttr) { return; }
void setResAttrsAttr(ArrayAttr) { return; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these aren't actually needed? I know this is to integrate llvm/llvm-project#123176 but these will already be auto-generated I believe. For example bump that also integrates that PR doesn't require such a change #5969.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right. I didn't notice that ff77e98 did this the right way.

Removed.

@makslevental
Copy link
Contributor

@chsigg thanks for doing this and folding in the lld stuff. Can you hold off for a little bit (I guess a couple of hours); this small upstream fixup llvm/llvm-project#127946 will land soon.

makslevental and others added 2 commits February 21, 2025 08:46
- amd gfx940 and gfx941 were removed.
- createConvertSCFToCFPass was renamed to createSCFToControlFlowPass.
- scf.for folder was introduced to remove duplicate variables.
@chsigg
Copy link
Collaborator Author

chsigg commented Feb 21, 2025

Can you hold off for a little bit (I guess a couple of hours); this small upstream fixup llvm/llvm-project#127946 will land soon.

Absolutely.

@makslevental
Copy link
Contributor

Can you hold off for a little bit (I guess a couple of hours); this small upstream fixup llvm/llvm-project#127946 will land soon.

Absolutely.

Actually you should go ahead and merge - upstream reviewer seems MIA. I'll get it later.

@chsigg chsigg requested a review from ThomasRaoux February 25, 2025 06:24
@antiagainst
Copy link
Collaborator

Hi @chsigg, we'd need to pick up some recent llvm commits that are brought in by this one so it would be nice to land this soon. Let me know if you need some hands to push this pull request forward. :)

chsigg pushed a commit to openxla/triton that referenced this pull request Mar 3, 2025
This commit updates to llvm/llvm-project@a66376b0dc3b with changes:
* build lld as well.
* AMD gfx940 and gfx941 were removed.
* `createConvertSCFToCFPass` was renamed to
`createSCFToControlFlowPass`.
* `scf.for` folder was introduced to remove duplicate variables.

This brings in fixes we needed for AMD gfx950 enablement.

Closes triton-lang#5974.
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.

5 participants