Skip to content

llvm-reduce: Filter function based on uses before removing arguments #133412

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

Conversation

arsenm
Copy link
Contributor

@arsenm arsenm commented Mar 28, 2025

Invokes and others are not handled, so this was leaving broken callsites
behind for anything other than CallInst

@arsenm arsenm marked this pull request as ready for review March 28, 2025 10:17
@arsenm arsenm force-pushed the users/arsenm/llvm-reduce/fix-remove-argument-losing-callsite-calling-conv branch from 0e49d45 to 450bceb Compare March 28, 2025 10:22
@arsenm arsenm force-pushed the users/arsenm/llvm-reduce/filter-function-use-types-before-remove-arguments branch from 0ff2f75 to 91d3247 Compare March 28, 2025 10:22
@regehr
Copy link
Contributor

regehr commented Mar 28, 2025

LGTM!

1 similar comment
@regehr
Copy link
Contributor

regehr commented Mar 28, 2025

LGTM!

Copy link
Contributor

@fhahn fhahn left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

@arsenm arsenm force-pushed the users/arsenm/llvm-reduce/fix-remove-argument-losing-callsite-calling-conv branch from 450bceb to dc033ac Compare March 28, 2025 16:30
@arsenm arsenm force-pushed the users/arsenm/llvm-reduce/filter-function-use-types-before-remove-arguments branch from 91d3247 to 374d2d9 Compare March 28, 2025 16:30
@arsenm arsenm force-pushed the users/arsenm/llvm-reduce/fix-remove-argument-losing-callsite-calling-conv branch from dc033ac to c88f4ef Compare March 28, 2025 16:43
@arsenm arsenm force-pushed the users/arsenm/llvm-reduce/filter-function-use-types-before-remove-arguments branch from 374d2d9 to 834ae84 Compare March 28, 2025 16:43
@arsenm arsenm force-pushed the users/arsenm/llvm-reduce/fix-remove-argument-losing-callsite-calling-conv branch from c88f4ef to abe9ab2 Compare March 28, 2025 16:48
Base automatically changed from users/arsenm/llvm-reduce/fix-remove-argument-losing-callsite-calling-conv to main March 28, 2025 16:51
Invokes and others are not handled, so this was leaving broken callsites
behind for anything other than CallInst
@arsenm arsenm force-pushed the users/arsenm/llvm-reduce/filter-function-use-types-before-remove-arguments branch from 834ae84 to e1fe44b Compare March 28, 2025 16:52
@arsenm arsenm merged commit 133c1af into main Mar 28, 2025
6 of 9 checks passed
Copy link
Contributor Author

arsenm commented Mar 28, 2025

Merge activity

  • Mar 28, 1:01 PM EDT: A user merged this pull request with Graphite.

@arsenm arsenm deleted the users/arsenm/llvm-reduce/filter-function-use-types-before-remove-arguments branch March 28, 2025 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants