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
OpAsmParser::OperandType name is really confusing #54446
Labels
mlir:core
MLIR Core Infrastructure
Comments
@llvm/issue-subscribers-mlir-core |
Yes, completely agreed. |
Patch candidate: https://reviews.llvm.org/D122142 |
Thanks for the quick turnaround time on this @zero9178 !! Really impressive :) |
mem-frob
pushed a commit
to draperlaboratory/hope-llvm-project
that referenced
this issue
Oct 7, 2022
…perand` I am not sure about the meaning of Type in the name (was it meant be interpreted as Kind?), and given the importance and meaning of Type in the context of MLIR, its probably better to rename it. Given the comment in the source code, the suggestion in the GitHub issue and the final discussions in the review, this patch renames the OperandType to UnresolvedOperand. Fixes llvm/llvm-project#54446 Differential Revision: https://reviews.llvm.org/D122142
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Every time I use this type I get confused by the fact that it has "type" in the name. Even the comment above it says:
So wouldn't OperandReference be a better name?
The text was updated successfully, but these errors were encountered: