[llvm-commits] [llvm] r151113 - /llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Tue Feb 21 17:07:19 PST 2012


Author: stoklund
Date: Tue Feb 21 19:07:19 2012
New Revision: 151113

URL: http://llvm.org/viewvc/llvm-project?rev=151113&view=rev
Log:
Clarify ARM calling conventions.

Modified:
    llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.cpp

Modified: llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.cpp?rev=151113&r1=151112&r2=151113&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.cpp Tue Feb 21 19:07:19 2012
@@ -1401,6 +1401,8 @@
   // stack slot reference to depend on the instruction that does the
   // modification.
   // Calls don't actually change the stack pointer, even if they have imp-defs.
+  // No ARM calling conventions change the stack pointer. (X86 calling
+  // conventions sometimes do).
   if (!MI->isCall() && MI->definesRegister(ARM::SP))
     return true;
 





More information about the llvm-commits mailing list