[llvm] 53f3f2b - AArch64: Use Register

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 19 18:43:11 PDT 2022


Author: Matt Arsenault
Date: 2022-04-19T21:07:04-04:00
New Revision: 53f3f2bbb15fb164db820e613be7a22560aa8ffe

URL: https://github.com/llvm/llvm-project/commit/53f3f2bbb15fb164db820e613be7a22560aa8ffe
DIFF: https://github.com/llvm/llvm-project/commit/53f3f2bbb15fb164db820e613be7a22560aa8ffe.diff

LOG: AArch64: Use Register

Added: 
    

Modified: 
    llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h b/llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
index f3385f30a9814..d29829044b198 100644
--- a/llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
+++ b/llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
@@ -116,7 +116,8 @@ class AArch64FunctionInfo final : public MachineFunctionInfo {
   /// SRetReturnReg - sret lowering includes returning the value of the
   /// returned struct in a register. This field holds the virtual register into
   /// which the sret argument is passed.
-  unsigned SRetReturnReg = 0;
+  Register SRetReturnReg;
+
   /// SVE stack size (for predicates and data vectors) are maintained here
   /// rather than in FrameInfo, as the placement and Stack IDs are target
   /// specific.


        


More information about the llvm-commits mailing list