[llvm] r265513 - AArch64: Fix compile error

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 5 19:59:46 PDT 2016


Author: matze
Date: Tue Apr  5 21:59:44 2016
New Revision: 265513

URL: http://llvm.org/viewvc/llvm-project?rev=265513&view=rev
Log:
AArch64: Fix compile error

Fixed to adapt a use of enterBasicBlock() in my last commit (because I
had follow on patches in my repository that change the code).

Modified:
    llvm/trunk/lib/Target/AArch64/AArch64FrameLowering.cpp

Modified: llvm/trunk/lib/Target/AArch64/AArch64FrameLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64FrameLowering.cpp?rev=265513&r1=265512&r2=265513&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64FrameLowering.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64FrameLowering.cpp Tue Apr  5 21:59:44 2016
@@ -245,7 +245,7 @@ static unsigned findScratchNonCalleeSave
     return AArch64::X9;
 
   RegScavenger RS;
-  RS.enterBasicBlock(MBB);
+  RS.enterBasicBlock(*MBB);
 
   // Prefer X9 since it was historically used for the prologue scratch reg.
   if (!RS.isRegUsed(AArch64::X9))




More information about the llvm-commits mailing list