Make changes to avoid creating nested CALLSEQ_START/END constructs, which aren't
authorAkira Hatanaka <ahatanak@gmail.com>
Mon, 19 Sep 2011 20:26:02 +0000 (20:26 +0000)
committerAkira Hatanaka <ahatanak@gmail.com>
Mon, 19 Sep 2011 20:26:02 +0000 (20:26 +0000)
commitda7f5f1c1df1869460bffaa358bf5a607781388b
tree101e964a645bc4492ec29fbbc8c629ad0bab4921
parentbcc1a737f5e7ff896e79c9a4a6177cc243618eff
Make changes to avoid creating nested CALLSEQ_START/END constructs, which aren't
yet legal according to comments in LegalizeDAG.cpp:227.

Memcpy nodes created for copying byval arguments are inserted before
CALLSEQ_START.

The two failing tests reported in PR10876 pass after applying this patch.

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