Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@uenoku
Copy link
Member

@uenoku uenoku commented Sep 18, 2024

There has been MacroRefExprOp and MacroRefExprSEOp to use macro symbols as expressions but it was not possible to use macro as a statement. This commit adds sv.macro.ref op to represent a statement. Since sv.macro.ref mnemonic was used by MacroRefExprOp this commit also renames sv.macro.ref to sv.macro.ref.expr at the same time.

There has been MacroRefExprOp and MacroRefExprSEOp to use macro
symbols as expressions but it was not possible to use macro as a
statement. This commit adds `sv.macro.ref` op to represent a
statement.
Copy link
Member

@seldridge seldridge left a comment

Choose a reason for hiding this comment

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

Nice. This was an obviously missing feature. Thanks!

@uenoku uenoku merged commit f8a95aa into main Sep 25, 2024
4 checks passed
@uenoku uenoku deleted the dev/hidetou/macro branch September 25, 2024 08:29
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