[llvm] 1612d38 - GlobalISel: Remove unneeded initialiation

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 24 19:43:10 PST 2020


Author: Matt Arsenault
Date: 2020-02-24T22:42:53-05:00
New Revision: 1612d382418c767729b582c7b3daf52f18348461

URL: https://github.com/llvm/llvm-project/commit/1612d382418c767729b582c7b3daf52f18348461
DIFF: https://github.com/llvm/llvm-project/commit/1612d382418c767729b582c7b3daf52f18348461.diff

LOG: GlobalISel: Remove unneeded initialiation

Removes implicit unsigned->Register conversion.

Added: 
    

Modified: 
    llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h b/llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
index bc9774e09acf..533a12bb84d6 100644
--- a/llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
+++ b/llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
@@ -84,7 +84,7 @@ class CallLowering {
 
     /// Valid if the call has a swifterror inout parameter, and contains the
     /// vreg that the swifterror should be copied into after the call.
-    Register SwiftErrorVReg = 0;
+    Register SwiftErrorVReg;
 
     MDNode *KnownCallees = nullptr;
 


        


More information about the llvm-commits mailing list