This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel][X86] handle not symmetric G_COPY
ClosedPublic

Authored by igorb on Apr 24 2017, 12:43 AM.

Event Timeline

igorb created this revision.Apr 24 2017, 12:43 AM
guyblank added inline comments.Apr 26 2017, 7:45 AM
test/CodeGen/X86/GlobalISel/binop.ll
27

can you add tests just for the COPY?
returning the arguments i suppose.

igorb updated this revision to Diff 96879.Apr 27 2017, 12:27 AM
  • add tests
igorb marked an inline comment as done.Apr 27 2017, 12:31 AM
igorb added inline comments.
test/CodeGen/X86/GlobalISel/binop.ll
27

I added tests for not symmetric G_COPY to callingconv.ll. Tests for just a G_COPY already exist in the same file (like test_arg_i32).

This revision is now accepted and ready to land.Apr 27 2017, 1:02 AM
This revision was automatically updated to reflect the committed changes.