Skip to content

Ignore FileCheck when profcheck is enabled #151214

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

Conversation

mtrofin
Copy link
Member

@mtrofin mtrofin commented Jul 29, 2025

When profcheck is enabled (presumably on a specific build bot), we want to ignore FileCheck because we're only interested in profile validation, and some tests are sensitive to the precise IR output, which profile validation alters slightly by inserting profile metadata.

Issue #147390

Copy link
Member Author

mtrofin commented Jul 29, 2025

Copy link

github-actions bot commented Jul 29, 2025

✅ With the latest revision this PR passed the Python code formatter.

@mtrofin mtrofin force-pushed the users/mtrofin/07-29-ignore_filecheck_when_profcheck_is_enabled branch from 53562e6 to d92e17b Compare July 29, 2025 19:56
@mtrofin mtrofin closed this Jul 29, 2025
@mtrofin mtrofin reopened this Jul 29, 2025
@mtrofin mtrofin changed the base branch from users/mtrofin/07-29-option_to_wildcard_xfail-not to users/mtrofin/07-29-_nfc_test/lit.cfg.py_formatting July 29, 2025 20:12
@mtrofin mtrofin force-pushed the users/mtrofin/07-29-ignore_filecheck_when_profcheck_is_enabled branch from d92e17b to bc73ca5 Compare July 29, 2025 20:13
@mtrofin mtrofin force-pushed the users/mtrofin/07-29-_nfc_test/lit.cfg.py_formatting branch from 26f7402 to 63de5c0 Compare July 29, 2025 20:13
@mtrofin mtrofin marked this pull request as ready for review July 29, 2025 20:16
@mtrofin mtrofin requested a review from boomanaiden154 July 29, 2025 20:16
@mtrofin mtrofin force-pushed the users/mtrofin/07-29-ignore_filecheck_when_profcheck_is_enabled branch from bc73ca5 to 6a45113 Compare July 29, 2025 20:17
Copy link
Contributor

@boomanaiden154 boomanaiden154 left a comment

Choose a reason for hiding this comment

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

This is clean when running check-llvm (as in nothing unexpected gets caught up in the regex crossfire)?

@mtrofin mtrofin force-pushed the users/mtrofin/07-29-ignore_filecheck_when_profcheck_is_enabled branch from 6a45113 to 5ae23e1 Compare July 29, 2025 20:20
Copy link
Member Author

mtrofin commented Jul 29, 2025

Not sure I understand, I think you mean "if I disable profcheck but still "do" this trick, does anything fail". No.

@boomanaiden154
Copy link
Contributor

Not sure I understand, I think you mean "if I disable profcheck but still "do" this trick, does anything fail". No.

That's what I was asking. I figured you had checked, but figured it wouldn't hurt to ask.

@mtrofin mtrofin force-pushed the users/mtrofin/07-29-_nfc_test/lit.cfg.py_formatting branch from 63de5c0 to 0263d91 Compare July 29, 2025 21:08
@mtrofin mtrofin force-pushed the users/mtrofin/07-29-ignore_filecheck_when_profcheck_is_enabled branch 2 times, most recently from 2bb0305 to bf5c7e6 Compare July 29, 2025 23:29
@mtrofin mtrofin force-pushed the users/mtrofin/07-29-_nfc_test/lit.cfg.py_formatting branch 2 times, most recently from 277936a to a99c9c8 Compare July 30, 2025 00:08
@mtrofin mtrofin force-pushed the users/mtrofin/07-29-ignore_filecheck_when_profcheck_is_enabled branch from bf5c7e6 to 9f9b5f8 Compare July 30, 2025 00:08
@mtrofin mtrofin force-pushed the users/mtrofin/07-29-_nfc_test/lit.cfg.py_formatting branch from a99c9c8 to ed3dd6b Compare July 30, 2025 22:52
@mtrofin mtrofin force-pushed the users/mtrofin/07-29-ignore_filecheck_when_profcheck_is_enabled branch from 9f9b5f8 to 218c4bf Compare July 30, 2025 22:52
@mtrofin mtrofin force-pushed the users/mtrofin/07-29-_nfc_test/lit.cfg.py_formatting branch from ed3dd6b to d678164 Compare July 30, 2025 23:00
@mtrofin mtrofin force-pushed the users/mtrofin/07-29-ignore_filecheck_when_profcheck_is_enabled branch 2 times, most recently from 627ba43 to a959caf Compare July 31, 2025 17:18
@mtrofin mtrofin force-pushed the users/mtrofin/07-29-_nfc_test/lit.cfg.py_formatting branch from d678164 to 5f27818 Compare July 31, 2025 17:18
@mtrofin mtrofin force-pushed the users/mtrofin/07-29-ignore_filecheck_when_profcheck_is_enabled branch from a959caf to 60275ac Compare July 31, 2025 17:59
@mtrofin mtrofin force-pushed the users/mtrofin/07-29-ignore_filecheck_when_profcheck_is_enabled branch 24 times, most recently from 1f3b25b to 5ffc407 Compare August 1, 2025 14:22
@boomanaiden154
Copy link
Contributor

@mtrofin Looks like Graphite is stuck in a loop (#151135). You should probably cancel and retry.

@mtrofin mtrofin force-pushed the users/mtrofin/07-29-ignore_filecheck_when_profcheck_is_enabled branch from 5ffc407 to 8cd5be2 Compare August 1, 2025 14:41
@mtrofin mtrofin merged commit c5459a0 into main Aug 1, 2025
7 of 9 checks passed
@mtrofin mtrofin deleted the users/mtrofin/07-29-ignore_filecheck_when_profcheck_is_enabled branch August 1, 2025 14:43
Copy link
Member Author

mtrofin commented Aug 1, 2025

Ya, went through the github side and didn't wait for the CI - it passed sufficient times already.

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