-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update getPhaseValue to return an mlir::Value. (#304)
This PR changes the return value of the Pulse utility method getPhaseValue() to return an mlir::Value instead of a double. This is necessary when using parameters, as the phase offset can be specified as a parameter value in addition to a compile time constant. By returning the mlir::Value, the caller of phaseOffset has the ability to differentiate between the two scenarios and act accordingly.
- Loading branch information
Showing
2 changed files
with
8 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters