Skip to content

Conversation

chsigg
Copy link
Contributor

@chsigg chsigg commented Sep 8, 2023

This is a new attempt of https://reviews.llvm.org/D159481, this time as GitHub PR.

GenericOptionValue::compare() should return true for a match.

  • OptionValueBase::compare() always returns false and shouldn't match anything.
  • OptionValueCopy::compare() returns false if not Valid which corresponds to no match.

Also adding some tests.

`GenericOptionValue::compare()` should return `true` for a match.
@chsigg chsigg requested a review from a team as a code owner September 8, 2023 13:19
@github-actions github-actions bot added mlir:core MLIR Core Infrastructure mlir labels Sep 8, 2023
@chsigg chsigg merged commit 710b5a1 into llvm:main Sep 10, 2023
ZijunZhaoCCK pushed a commit to ZijunZhaoCCK/llvm-project that referenced this pull request Sep 19, 2023
This is a new attempt of https://reviews.llvm.org/D159481, this time as
GitHub PR.

`GenericOptionValue::compare()` should return `true` for a match.

- `OptionValueBase::compare()` always returns `false` and shouldn't
match anything.
- `OptionValueCopy::compare()` returns `false` if not `Valid` which
corresponds to no match.

Also adding some tests.
@chsigg chsigg deleted the piper_export_cl_563409994 branch February 15, 2024 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mlir:core MLIR Core Infrastructure mlir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants