From: Jim Grosbach Date: Fri, 15 Oct 2010 18:34:47 +0000 (+0000) Subject: Don't mark argument value stores as immutable, as otherwise the post-RA X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fd52906478a17c1459607a9e458578d4289cdfa6;p=oota-llvm.git Don't mark argument value stores as immutable, as otherwise the post-RA scheduler may reorder loads from them before the stores and other such badness. PR8347. Patch by David Meyer git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116602 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp index 6f292dd1556..d9a7ec32451 100644 --- a/lib/Target/ARM/ARMISelLowering.cpp +++ b/lib/Target/ARM/ARMISelLowering.cpp @@ -2217,7 +2217,7 @@ ARMTargetLowering::LowerFormalArguments(SDValue Chain, AFI->setVarArgsFrameIndex( MFI->CreateFixedObject(VARegSaveSize, ArgOffset + VARegSaveSize - VARegSize, - true)); + false)); SDValue FIN = DAG.getFrameIndex(AFI->getVarArgsFrameIndex(), getPointerTy());