Skip to content

[nfc][msan] Generate test with update_test_checks.py #113199

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

vitalybuka
Copy link
Collaborator

@vitalybuka vitalybuka commented Oct 21, 2024

PR is to:

  1. Simplify test update in [msan] Switch to -msan-handle-icmp-exact my default #113200
  2. Make tests more comprehensive, currently interesting cases looks very basic:
; CHECK-LABEL: @ICmpSGTAllOnes
; CHECK: icmp slt
; CHECK-NOT: call void @__msan_warning
; CHECK: icmp sgt
; CHECK-NOT: call void @__msan_warning
; CHECK: ret i1

Created using spr 1.3.4
Created using spr 1.3.4

[skip ci]
Created using spr 1.3.4
Created using spr 1.3.4

[skip ci]
Created using spr 1.3.4
@vitalybuka vitalybuka requested review from fmayer and eugenis October 21, 2024 17:58
@vitalybuka vitalybuka changed the base branch from users/vitalybuka/spr/main.nfcmsan-re-generate-test-with-update_test_checkspy to main October 21, 2024 18:14
Created using spr 1.3.4
@fmayer
Copy link
Contributor

fmayer commented Oct 21, 2024

Not regenerated

@vitalybuka
Copy link
Collaborator Author

Not _re_generated

Please clarify, the patch looks correct to me.

@fmayer
Copy link
Contributor

fmayer commented Oct 22, 2024

Not _re_generated

Please clarify, the patch looks correct to me.

That was a nit about the commit message. "Regenerate" sounds like it was generated with the script before.

@vitalybuka vitalybuka changed the title [nfc][msan] Re-generate test with update_test_checks.py [nfc][msan] Generate test with update_test_checks.py Oct 22, 2024
@vitalybuka
Copy link
Collaborator Author

Not _re_generated

Please clarify, the patch looks correct to me.

That was a nit about the commit message. "Regenerate" sounds like it was generated with the script before.

Changed.
But to me it was fine, before - generated by human, after generated by script, so re-generate. :)

Created using spr 1.3.4
@vitalybuka vitalybuka merged commit 54cf62d into main Oct 22, 2024
6 of 8 checks passed
@vitalybuka vitalybuka deleted the users/vitalybuka/spr/nfcmsan-re-generate-test-with-update_test_checkspy branch October 22, 2024 19:34
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