-
Notifications
You must be signed in to change notification settings - Fork 510
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
Skip add metadata for SPIR target #9044
Conversation
Sub PR of #9042 |
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.
Thank you for the PR!
@@ -50,6 +50,7 @@ limitations under the License. | |||
#include "llvm/Support/Casting.h" | |||
#include "llvm/Support/CodeGen.h" | |||
#include "llvm/Support/raw_ostream.h" | |||
#include "llvm/TargetParser/Triple.h" |
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.
This needs a corresponding dependency in the BUILD file for the llvm_util target.
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.
Done.
f8365cd
to
1a71d76
Compare
Imported from GitHub PR openxla/xla#9044 This is a sub PR to add SPIR target in openxla. There is no need to add range metadata for SPIR target, so just skip it in `AddRangeMetadata` function. Copybara import of the project: -- 1a71d76809e045c428d9a98024366c13ccacf3d9 by Sheng, Yang <[email protected]>: Skip add metadata for SPIR target Merging this change closes #9044 PiperOrigin-RevId: 608548655
This is a sub PR to add SPIR target in openxla.
There is no need to add range metadata for SPIR target, so just skip it in
AddRangeMetadata
function.