Pass the llvm IR pointer value and offset to the constructor of
authorAkira Hatanaka <ahatanaka@mips.com>
Tue, 27 Mar 2012 03:13:56 +0000 (03:13 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Tue, 27 Mar 2012 03:13:56 +0000 (03:13 +0000)
commitb4549e1c0ecec1b9ea6b0e5ffe01c84c9842d668
tree967e8d64266bfbb01a75f0906b6115253692f4c4
parent13daee30824d02b4657a2a97129eebfe3f9b9107
Pass the llvm IR pointer value and offset to the constructor of
MachinePointerInfo when getStore is called to create a node that stores an
argument passed in register to the stack. Without this change, the post RA
scheduler will fail to discover the dependencies between the stores
instructions and the instructions that load from a structure passed by value.

The link to the related discussion is here:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-March/048055.html

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153499 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsISelLowering.cpp