Skip to content

[AIE] Fix dereferencing an unengaged std::optional<int>.#744

Open
SagarMaheshwari99 wants to merge 1 commit intoaie-publicfrom
sagarm/fix.deref
Open

[AIE] Fix dereferencing an unengaged std::optional<int>.#744
SagarMaheshwari99 wants to merge 1 commit intoaie-publicfrom
sagarm/fix.deref

Conversation

@SagarMaheshwari99
Copy link
Copy Markdown
Collaborator

No description provided.

*TII->getFirstMemoryCycle(FixedDepMI->getDesc().SchedClass) + 1,
Latency));
} else if (TII->isLock(FixedDepMI->getOpcode())) {
auto OptFirstMemCycle =
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please include a test.

Latency));
} else if (TII->isLock(FixedDepMI->getOpcode())) {
auto OptFirstMemCycle =
TII->getFirstMemoryCycle(FixedDepMI->getDesc().SchedClass);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Also, would be nice to know which SchedClass does not get this info

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