[mips] Make sure there is a chain edge dependency between loads that read
authorAkira Hatanaka <ahatanaka@mips.com>
Sat, 9 Nov 2013 02:38:51 +0000 (02:38 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Sat, 9 Nov 2013 02:38:51 +0000 (02:38 +0000)
commit95830221bd4877816adc6707eb34ca68c5a515d2
tree3a06f1281d43cd68c7baf0878c0aef34ee3c3e4a
parentceb0d9c085492151f8e4538119bf3de29ff935c0
[mips] Make sure there is a chain edge dependency between loads that read
formal arguments on the stack and stores created afterwards. We need this to
ensure tail call optimized function calls do not write over the argument area
of the stack before it is read out.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194309 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsISelLowering.cpp
test/CodeGen/Mips/i64arg.ll
test/CodeGen/Mips/tailcall.ll