[llvm] 1c44430 - Fix buildbots #2 after aa1eb5152d9a5bd588c8479a376fa65cbeabbc9f.

Alexey Lapshin via llvm-commits llvm-commits at lists.llvm.org
Tue May 12 15:24:12 PDT 2020


Author: Alexey Lapshin
Date: 2020-05-13T01:23:39+03:00
New Revision: 1c44430e738ba83eefe6d56a245ee30649d8988d

URL: https://github.com/llvm/llvm-project/commit/1c44430e738ba83eefe6d56a245ee30649d8988d
DIFF: https://github.com/llvm/llvm-project/commit/1c44430e738ba83eefe6d56a245ee30649d8988d.diff

LOG: Fix buildbots #2 after aa1eb5152d9a5bd588c8479a376fa65cbeabbc9f.

Added: 
    

Modified: 
    llvm/lib/Target/X86/X86ISelLowering.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 040e9467b24e..f126e54d3bb2 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -3338,7 +3338,7 @@ class VarArgsLoweringHelper {
                         CallingConv::ID CallConv, CCState &CCInfo)
       : FuncInfo(FuncInfo), DL(Loc), DAG(DAG), Subtarget(Subtarget),
         TheMachineFunction(DAG.getMachineFunction()),
-        Function(TheMachineFunction.getFunction()),
+        TheFunction(TheMachineFunction.getFunction()),
         FrameInfo(TheMachineFunction.getFrameInfo()),
         FrameLowering(*Subtarget.getFrameLowering()),
         TargLowering(DAG.getTargetLoweringInfo()), CallConv(CallConv),
@@ -3360,7 +3360,7 @@ class VarArgsLoweringHelper {
   SelectionDAG &DAG;
   const X86Subtarget &Subtarget;
   MachineFunction &TheMachineFunction;
-  const Function &Function;
+  const Function &TheFunction;
   MachineFrameInfo &FrameInfo;
   const TargetFrameLowering &FrameLowering;
   const TargetLowering &TargLowering;
@@ -3381,7 +3381,7 @@ void VarArgsLoweringHelper::createVarArgAreaAndStoreRegisters(
 
   // Figure out if XMM registers are in use.
   assert(!(Subtarget.useSoftFloat() &&
-           Function.hasFnAttribute(Attribute::NoImplicitFloat)) &&
+           TheFunction.hasFnAttribute(Attribute::NoImplicitFloat)) &&
          "SSE register cannot be used when SSE is disabled!");
 
   // 64-bit calling conventions support varargs and register parameters, so we


        


More information about the llvm-commits mailing list