Skip to content
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

[NFC] Remove unused functions in ExecutionTest.cpp and assert.cpp (#7129) #7132

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

bob80905
Copy link
Collaborator

@bob80905 bob80905 commented Feb 7, 2025

Some functions need to be removed / changed to unblock some internal pipelines. They are emitting warnings that they are unused. Specifically, CompareOutputWithExpectedValueFloat, CompareOutputWithExpectedValueHalf, and
CompareOutputWithExpectedValueFloat need to be removed because they are unused.
Additionally, there is a case in assert.cpp where llvm_assert_trap is left unused depending on what's been defined and how the preprocessor directives execute. This needs to be remedied so that the function is only defined when it is used.

…crosoft#7129)

Some functions need to be removed / changed to unblock some internal
pipelines. They are emitting warnings that they are unused.
Specifically, `CompareOutputWithExpectedValueFloat`,
`CompareOutputWithExpectedValueHalf`, and
`CompareOutputWithExpectedValueFloat` need to be removed because they
are unused.
Additionally, there is a case in assert.cpp where `llvm_assert_trap` is
left unused depending on what's been defined and how the preprocessor
directives execute. This needs to be remedied so that the function is
only defined when it is used.
@bob80905 bob80905 requested a review from a team as a code owner February 7, 2025 19:23
@damyanp
Copy link
Member

damyanp commented Feb 7, 2025

Is this a cherry-pick?

@bob80905
Copy link
Collaborator Author

bob80905 commented Feb 7, 2025

Is this a cherry-pick?

Yes

@bob80905 bob80905 merged commit fdde077 into microsoft:release-1.8.2502 Feb 7, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants