[PATCH] D18901: ARM: Use a callee save register for the swiftself parameter.

Quentin Colombet via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 12 17:29:27 PDT 2016


qcolombet added a comment.

Hi Matthias,

Same comment as http://reviews.llvm.org/D18902 + some questions on the test cases.

Cheers,
-Quentin


================
Comment at: test/CodeGen/ARM/swiftself.ll:38
@@ +37,3 @@
+; OPT-NEXT: bl {{_?}}swiftself_param
+define void @swiftself_passthrough(i8* swiftself %addr0) {
+  call i8 *@swiftself_param(i8* swiftself %addr0)
----------------
No checks for O0?

================
Comment at: test/CodeGen/ARM/swiftself.ll:48
@@ +47,3 @@
+; TAILCALL-NOT: pop
+define i8* @swiftself_tail(i8* swiftself %addr0) {
+  call void asm sideeffect "", "~{r10}"()
----------------
No checks for O0 and OPT alone?


Repository:
  rL LLVM

http://reviews.llvm.org/D18901





More information about the llvm-commits mailing list