This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][GlobalISel] Make G_PHI of p0 types legal
ClosedPublic

Authored by aemerson on Oct 6 2017, 6:01 AM.

Details

Summary

Make G_PHI of p0 types legal.

These seem to contribute a significant proportion of the SDAG bailouts on a test suite build.

Diff Detail

Repository
rL LLVM

Event Timeline

aemerson created this revision.Oct 6 2017, 6:01 AM

Forgot to add llvm-commits.

qcolombet accepted this revision.Oct 6 2017, 10:17 AM
qcolombet added a subscriber: qcolombet.

Hi Amara,

LGTM.

Could you add checks (in follow on commits) for both regbankselect and instruction select passes to make sure G_PHIs with p0 pass those two as well?

Cheers,
-Quentin

This revision is now accepted and ready to land.Oct 6 2017, 10:17 AM

Thanks, will do.

This revision was automatically updated to reflect the committed changes.