This is an archive of the discontinued LLVM Phabricator instance.

[IndVars] Fix adding trunc instructions for unwind blocks
ClosedPublic

Authored by yrouban on Dec 17 2020, 8:12 PM.

Details

Summary

We should not insert truncation before landing pads.
Fix the insertion point.

Diff Detail

Event Timeline

yrouban created this revision.Dec 17 2020, 8:12 PM
yrouban requested review of this revision.Dec 17 2020, 8:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 17 2020, 8:12 PM
skatkov accepted this revision.Dec 17 2020, 8:32 PM

Good catch!

This revision is now accepted and ready to land.Dec 17 2020, 8:32 PM

Could use a test.