-
Notifications
You must be signed in to change notification settings - Fork 12
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
Add support for exegesis annotator in BHive conversion script #41
Add support for exegesis annotator in BHive conversion script #41
Conversation
This patch adds support for using the exegesis annotator in the BHive conversion script.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume this file is OK with abseil deps @ondrasej ?
|
||
auto llvm_state_or_error = llvm::exegesis::LLVMState::Create("", "native"); | ||
if (!llvm_state_or_error) { | ||
std::cerr << "Failed to create LLVMState\n"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't have absl::log?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could, but the rest of the file uses standard library output, so I'm staying consistent with that for now. Not sure what would be preferred though. I think within Google, everything would use absl::log
, and LLVM has its own output facilities, so this is sort of in no man's land.
I think this one is fine. We're using LLVM from this one, but we don't need tflite, so Bazel build should not be a problem. It would be nice to get rid of Abseil eventually, but it's not necessary in this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have any more comments.
This patch adds support for using the exegesis annotator in the BHive conversion script.