[PATCH] D18902: X86: Use a callee save register for the swiftself parameter.

Mandeep Singh Grang via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 8 10:58:39 PDT 2016


mgrang added inline comments.

================
Comment at: lib/Target/X86/X86CallingConv.td:297
@@ -296,3 +296,3 @@
 
-  // A SwiftSelf is passed in R10.
-  CCIfSwiftSelf<CCIfType<[i64], CCAssignToReg<[R10]>>>,
+  // Pass SwiftSwlf in a callee saved register.
+  CCIfSwiftSelf<CCIfType<[i64], CCAssignToReg<[R12]>>>,
----------------
mgrang wrote:
> Type: Should be SwiftSelf instead of SwiftSwlf.
Typo*


Repository:
  rL LLVM

http://reviews.llvm.org/D18902





More information about the llvm-commits mailing list