This is an archive of the discontinued LLVM Phabricator instance.

Teach IPSCCP to not propagate return values of naked functions
ClosedPublic

Authored by davide on Jan 31 2017, 4:19 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

davide created this revision.Jan 31 2017, 4:19 PM
Bigcheese accepted this revision.Jan 31 2017, 4:27 PM

lgtm.

I wonder if there are any other interprocedural passes which get this wrong.

This revision is now accepted and ready to land.Jan 31 2017, 4:27 PM

Probably at least IPConstprop (the 'naive version' of SCCP that doesn't build a lattice yada yada yada), but that's not part of the default pipeline. I'll take care of it next.

This revision was automatically updated to reflect the committed changes.