Skip to content

Integrate MLIR-EmitC at iml130/mlir-emitc@0b9d50b - #5936

Merged
ScottTodd merged 1 commit into
iree-org:mainfrom
simon-camp:emitc-submodule
May 19, 2021
Merged

ScottTodd merged 1 commit into
iree-org:mainfrom
simon-camp:emitc-submodule

Conversation

@simon-camp

@simon-camp simon-camp commented May 18, 2021 •

Copy link
Copy Markdown

Support for StringAttrs was dropped in favor of a dedicated emitc::OpaqueAttr.

Co-authored-by: Marius Brehler [email protected]

@google-cla google-cla Bot added the cla: yes label May 18, 2021
@marbre
marbre self-requested a review May 18, 2021 20:29

@marbre marbre left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You missed to update the tests. The line
https://github.com/google/iree/blob/9b3e709632524153fd6975cbc62c651fcca7a966/iree/compiler/Dialect/VM/Conversion/VMToEmitC/test/const_ops.mlir#L33
needs to be changed to

// CHECK: %[[NULL:.+]] = "emitc.const"() {value = #emitc.opaque<"{0}">} : () -> !emitc.opaque<"iree_vm_ref_t">

I think the shift op related tests that fail are unrelated to your change. Will check that tomorrow.

@simon-camp
simon-camp force-pushed the emitc-submodule branch 2 times, most recently from c49499b to 3406bef Compare May 19, 2021 07:57
@google-cla

google-cla Bot commented May 19, 2021

Copy link
Copy Markdown

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to determine that you authored the commits in this PR. Maybe you used a different email address in the git commits than was used to sign the CLA? If someone else authored these commits, then please add them to this pull request and have them confirm that they're okay with them being contributed to Google. If there are co-authors, make sure they're formatted properly.

In order to pass this check, please resolve this problem and then comment@googlebot I fixed it... If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@google-cla google-cla Bot added cla: no and removed cla: yes labels May 19, 2021
@google-cla google-cla Bot added cla: yes and removed cla: no labels May 19, 2021
Support for `StringAttr`s was dropped in favor of a dedicated `emitc::OpaqueAttr`.

Co-authored-by: Marius Brehler <[email protected]>
@marbre
marbre self-requested a review May 19, 2021 08:54

@marbre marbre left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@ScottTodd
ScottTodd merged commit 577d9d9 into iree-org:main May 19, 2021
@hanhanW hanhanW mentioned this pull request May 19, 2021
copybara-service Bot pushed a commit that referenced this pull request May 19, 2021
* 367468b Fix tests for shift operations (#5952)
* 577d9d9 Integrate MLIR-EmitC at iml130/mlir-emitc@0b9d50b (#5936)
* b5f3dda Add attribute to capture lowering configuration. (#5842)
* 4b31bd9 Initial Adding ROCM HAL Backend to Experimental (#5943)
* 3bdcea8 Merge google -> main (#5947)
* 90368f1 Remove file left during renaming from LinagToNVVM to LinalgToLLVMGPU (#5940)

COPYBARA_INTEGRATE_REVIEW=#5954 from hanhanW:main-to-google 367468b
PiperOrigin-RevId: 374687876
iree-github-actions-bot pushed a commit that referenced this pull request May 19, 2021
* 367468b Fix tests for shift operations (#5952)
* 577d9d9 Integrate MLIR-EmitC at iml130/mlir-emitc@0b9d50b (#5936)
* b5f3dda Add attribute to capture lowering configuration. (#5842)
* 4b31bd9 Initial Adding ROCM HAL Backend to Experimental (#5943)
* 3bdcea8 Merge google -> main (#5947)
* 90368f1 Remove file left during renaming from LinagToNVVM to LinalgToLLVMGPU (#5940)

PiperOrigin-RevId: 374687876
@simon-camp
simon-camp deleted the emitc-submodule branch September 14, 2022 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants