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)
commitd5ab35f2658f785efc7bc1e684f72c83d02e7668
tree10bcd84bb77b6af98e313c25cbab67fe9f96ec14
parentfc21d41709816191636bea84e0b6acdfaea15087
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.

llvm-svn: 230129
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/Target/X86/X86ISelDAGToDAG.cpp