This is an archive of the discontinued LLVM Phabricator instance.

Return failure on failure in convertBlockSignature.
ClosedPublic

Authored by stellaraccident on Oct 1 2021, 10:51 PM.

Details

Summary

This was causing a subsequent assert/crash when a type converter failed to convert a block argument.

Diff Detail

Event Timeline

stellaraccident requested review of this revision.Oct 1 2021, 10:51 PM
rriddle accepted this revision.Oct 1 2021, 10:53 PM
This revision is now accepted and ready to land.Oct 1 2021, 10:53 PM

Is there a test that can cover this?

Is there a test that can cover this?

I'll check next week before landing. Was just in a debugging session with my code and found this/didn't want to lose it.

Added test case.