10000 [iree-opt] error: expected SSA operand · Issue #20594 · iree-org/iree · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[iree-opt] error: expected SSA operand #20594

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

Closed
amd-vivekag opened this issue Apr 22, 2025 · 3 comments
Closed

[iree-opt] error: expected SSA operand #20594

amd-vivekag opened this issue Apr 22, 2025 · 3 comments
Assignees
Labels
bug 🐞 Something isn't working compiler/dialects Relating to the IREE compiler dialects (flow, hal, vm) support Request support or ask a question

Comments

@amd-vivekag
Copy link
Contributor
amd-vivekag commented Apr 22, 2025

template.mlir.gz

What happened?

Getting following error after a commit: e8032e3

template.mlir:103:112: error: expected SSA operand
    hal.device.queue.execute<%device : !hal.device> affinity(%queue_affinity) wait(%1) signal(%fence) commands([%cmd])

Command to reproduce:

iree-opt template.mlir

Steps to reproduce your issue

  1. Download template.mlir
  2. Run command: iree-opt template-mlir
  3. You should see following error:
template.mlir:103:112: error: expected SSA operand
    hal.device.queue.execute<%device : !hal.device> affinity(%queue_affinity) wait(%1) signal(%fence) commands([%cmd])

What component(s) does this issue relate to?

Compiler

Version information

e8032e3

Additional context

No response

@amd-vivekag
Copy link
Contributor Author

@benvanik I've assigned this issue to you for now as this is coming after submission of PR #20368. Please see if you want to reassign it to someone else.

@ScottTodd
Copy link
Member

It looks like the syntax of that op changed? How was template.mlir generated? IREE compiler IR is not stable across compiler versions, so that will likely need to be regenerated.

@ScottTodd ScottTodd added compiler/dialects Relating to the IREE compiler dialects (flow, hal, vm) support Request support or ask a question labels May 5, 2025
@benvanik
Copy link
Collaborator
benvanik commented May 5, 2025

Yep, syntax changed to drop the use of [] - you need to update your IR accordingly:

    hal.device.queue.execute<%device : !hal.device> affinity(%queue_affinity) wait(%1) signal(%fence) commands(%cmd)

@benvanik benvanik closed this as completed May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working compiler/dialects Relating to the IREE compiler dialects (flow, hal, vm) support Request support or ask a question
Projects
None yet
Development

No branches or pull requests

3 participants
0