[PATCH] D29668: Elide argument copies during instruction selection

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 17 18:50:23 PST 2017


MatzeB added a comment.

In https://reviews.llvm.org/D29668#680683, @chandlerc wrote:

> FWIW, this looks fine to me with minor tweaks below. Would be great to have @MatzeB be happy as well though, this is a part of the backend I'm somewhat less familiar with.


My LGTM still stands (though I agree with all the comments made in between). I'm not super familiar with SelectionDAG either though.



================
Comment at: test/CodeGen/X86/pr30430.ll:104-111
+; CHECK-NEXT:    vmovss %xmm15, {{[0-9]+}}(%rsp) # 4-byte Spill
+; CHECK-NEXT:    vmovss %xmm8, {{[0-9]+}}(%rsp) # 4-byte Spill
+; CHECK-NEXT:    vmovss %xmm9, {{[0-9]+}}(%rsp) # 4-byte Spill
+; CHECK-NEXT:    vmovss %xmm10, {{[0-9]+}}(%rsp) # 4-byte Spill
+; CHECK-NEXT:    vmovss %xmm11, {{[0-9]+}}(%rsp) # 4-byte Spill
+; CHECK-NEXT:    vmovss %xmm12, {{[0-9]+}}(%rsp) # 4-byte Spill
+; CHECK-NEXT:    vmovss %xmm13, {{[0-9]+}}(%rsp) # 4-byte Spill
----------------
Why are those classified as spills?


https://reviews.llvm.org/D29668





More information about the llvm-commits mailing list