OSDN Git Service

Try approach to moving call address load inside of callseq_start. Now it's done durin...
authorEvan Cheng <evan.cheng@apple.com>
Mon, 25 Aug 2008 21:27:18 +0000 (21:27 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 25 Aug 2008 21:27:18 +0000 (21:27 +0000)
commitab6c3bb44d254d1b3c9dcce74ba3a917558feab3
tree3fd09292c650af08c40411a74ced15924aa0ec7e
parent140a8bb00640a5af4ae29516ac7c18c22f75c2be
Try approach to moving call address load inside of callseq_start. Now it's done during the preprocess of x86 isel. callseq_start's chain is changed to load's chain node; while load's chain is the last of callseq_start or the loads or copytoreg nodes inserted to move arguments to the right spot.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55338 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelDAGToDAG.cpp
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/fold-call-2.ll