This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel] Pointers are legal operands for G_SELECT on AArch64
ClosedPublic

Authored by kristof.beyls on Jan 17 2017, 6:51 AM.

Details

Summary

This makes another 13 tests pass in the test-suite for me.

I'm not sure if we could tablegen the functionality I'm touching in this patch.
Even if we did, I think that manually fixing this is helpful, as it results in other issues being hidden less while we don't have tablegen for this.

Diff Detail

Repository
rL LLVM

Event Timeline

kristof.beyls created this revision.Jan 17 2017, 6:51 AM
dsanders edited edge metadata.Jan 19 2017, 4:02 AM

This looks good to me but I don't feel I have sufficiently complete knowledge of AArch64 to be approving codegen changes yet. It would be good to get an LGTM from one of the other reviewers before committing.

I'm not sure if we could tablegen the functionality I'm touching in this patch.

The current code looks like it will fit in to the tablegen definitions I've been sketching.

Even if we did, I think that manually fixing this is helpful, as it results in other issues being hidden less while we don't have tablegen for this.

I agree. It will be a while before the tablegen pass is complete enough to handle the things it needs to and there's no need to block this fix on that work.

rengolin accepted this revision.Jan 19 2017, 4:06 AM

Looks pretty straight-forward.

This revision is now accepted and ready to land.Jan 19 2017, 4:06 AM
This revision was automatically updated to reflect the committed changes.