Skip to content

[RTG][LinearScanRegisterAllocation] Add error message to avoid silent failures#10581

Open
maerhart wants to merge 1 commit into
mainfrom
maerhart-rtg-regalloc-error-message
Open

[RTG][LinearScanRegisterAllocation] Add error message to avoid silent failures#10581
maerhart wants to merge 1 commit into
mainfrom
maerhart-rtg-regalloc-error-message

Conversation

@maerhart
Copy link
Copy Markdown
Member

@maerhart maerhart commented Jun 3, 2026

No description provided.

@maerhart maerhart added the RTG Involving the `rtg` dialect label Jun 3, 2026
@circt-bot
Copy link
Copy Markdown

circt-bot Bot commented Jun 3, 2026

Results of circt-tests run for 9826b2e compared to results for 937f4b9: no change to test results.

Comment on lines +186 to +188
auto diag =
user->emitError("operand must be defined by a constant-like "
"operation for folding, but is a block argument");
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.

Nit: this may format for readability better as:

Suggested change
auto diag =
user->emitError("operand must be defined by a constant-like "
"operation for folding, but is a block argument");
auto diag =
user->emitError() << "operand must be defined by a constant-like operation for folding, but is a block argument";

Ditto below.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RTG Involving the `rtg` dialect

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants