Skip to content
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 pulse waveform container op #140

Merged
merged 3 commits into from
Aug 4, 2023
Merged

Conversation

reza-j
Copy link
Contributor

@reza-j reza-j commented Aug 1, 2023

This PR introduces a new pulse operation, pulse.waveform_container, which can be used to contain a number of pulse waveforms.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 1, 2023

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Contributor

@bcdonovan bcdonovan left a comment

Choose a reason for hiding this comment

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

This LGTM. I think you do have the option to remove the pulse.terminator.

let verifier = [{ return ::mlir::pulse::verify(*this); }];
}

def Pulse_TerminatorOp : Pulse_Op<"terminator", [NoSideEffect, Terminator]>{
Copy link
Contributor

Choose a reason for hiding this comment

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

You could label the Pulse_WaveformContainerOp with NoTerminator and then the terminator would not be required. Since this is just a container and not intended for lowering I think that would be reasonable.

See this for details.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh cool! addressed in f409108

@github-actions
Copy link
Contributor

github-actions bot commented Aug 2, 2023

clang-tidy review says "All clean, LGTM! 👍"

@github-actions
Copy link
Contributor

github-actions bot commented Aug 4, 2023

clang-tidy review says "All clean, LGTM! 👍"

@reza-j reza-j merged commit f134762 into main Aug 4, 2023
2 checks passed
@reza-j reza-j deleted the rj-waveform-container branch August 4, 2023 14:16
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.

2 participants