This is an archive of the discontinued LLVM Phabricator instance.

[SimplifyCFG] Don't split musttail call from ret
ClosedPublic

Authored by JosephTremoulet on Apr 1 2019, 11:08 AM.

Details

Summary

When inserting an unreachable after a noreturn call, we must ensure
that it's not a musttail call to avoid breaking the IR invariants for
musttail calls.

Diff Detail

Repository
rL LLVM

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptApr 1 2019, 11:08 AM
majnemer accepted this revision.Apr 1 2019, 7:12 PM

LGTM

This revision is now accepted and ready to land.Apr 1 2019, 7:12 PM
This revision was automatically updated to reflect the committed changes.