Skip to content

Add std.assert -> vm.fail lowering. - #5926

Merged
stellaraccident merged 3 commits into
iree-org:mainfrom
stellaraccident:asserttofail
May 17, 2021
Merged

stellaraccident merged 3 commits into
iree-org:mainfrom
stellaraccident:asserttofail

Conversation

@stellaraccident

Copy link
Copy Markdown
Collaborator

Fixes #5923

@MaheshRavishankar MaheshRavishankar left a comment

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.

Nice and simple!

// Start by splitting the block containing the assert into two. The part
// before will contain the condition, and the part after will contain
// the continuation point.
// rewriter.setInsertionPointAfter(srcOp);

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.

Errant commented line?

@stellaraccident
stellaraccident enabled auto-merge (squash) May 17, 2021 21:29
@stellaraccident
stellaraccident merged commit da91d8e into iree-org:main May 17, 2021
@hanhanW hanhanW mentioned this pull request May 18, 2021
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.

Add std.assert -> vm.assert lowering

2 participants