[PATCH] D32420: [GlobalISel][X86] handle not symmetric G_COPY

Igor Breger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 27 00:31:23 PDT 2017


igorb marked an inline comment as done.
igorb added inline comments.


================
Comment at: test/CodeGen/X86/GlobalISel/binop.ll:27
 
+define i16 @test_add_i16(i16 %arg1, i16 %arg2) {
+; ALL-LABEL: test_add_i16:
----------------
guyblank wrote:
> can you add tests just for the COPY? 
> returning the arguments i suppose.
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).



https://reviews.llvm.org/D32420





More information about the llvm-commits mailing list