OSDN Git Service

X86: Call __main using the SelectionDAG
authorDavid Majnemer <david.majnemer@gmail.com>
Sat, 21 Feb 2015 05:49:45 +0000 (05:49 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Sat, 21 Feb 2015 05:49:45 +0000 (05:49 +0000)
commit164db1c6b934f553f27700cec6066b5a61a1e5bc
tree66bdbd3dcced972d2f724df8805d28b12b535ca8
parent5872174fd895a06128c95b0a22350b84ba429640
X86: Call __main using the SelectionDAG

Synthesizing a call directly using the MI layer would confuse the frame
lowering code.  This is problematic as frame lowering is highly
sensitive the particularities of calls, etc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230129 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/Target/X86/X86ISelDAGToDAG.cpp