This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Allow truncs as sources in ARM CGP
ClosedPublic

Authored by samparker on Sep 12 2018, 5:01 AM.

Details

Summary

We previously only allowed truncs as sinks, but now allow them as sources too. We do this by checking that the result type is the narrow type that we're trying to optimise for.

Diff Detail

Repository
rL LLVM

Event Timeline

samparker created this revision.Sep 12 2018, 5:01 AM
This revision is now accepted and ready to land.Sep 13 2018, 1:34 AM
This revision was automatically updated to reflect the committed changes.