Skip to content

[FuzzMutate] Properly handle intrinsics and avoid illegal code genertion #145495

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

Merged
merged 1 commit into from
Jun 24, 2025

Conversation

mgcarrasco
Copy link
Contributor

@mgcarrasco mgcarrasco commented Jun 24, 2025

This PR addresses issues related to the amdgcn_cs_chain intrinsic:

  1. Ensures the intrinsic's special attribute and calling convention requirements are not violated by the mutator.
  2. Enforces the necessary unreachable statement following this type of intrinsic, preventing the fuzzer from generating invalid code.

@DataCorrupted DataCorrupted merged commit 7377410 into llvm:main Jun 24, 2025
7 checks passed
DrSergei pushed a commit to DrSergei/llvm-project that referenced this pull request Jun 24, 2025
…ion (llvm#145495)

This PR addresses issues related to the `amdgcn_cs_chain` intrinsic:

1. Ensures the intrinsic's special attribute and calling convention
requirements are not violated by the mutator.
2. Enforces the necessary unreachable statement following this type of
intrinsic, preventing the fuzzer from generating invalid code.
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.

2 participants