]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commit
CodeGen: Handle va_start in the entry block
authorReid Kleckner <reid@kleckner.net>
Tue, 2 Sep 2014 18:42:44 +0000 (18:42 +0000)
committerReid Kleckner <reid@kleckner.net>
Tue, 2 Sep 2014 18:42:44 +0000 (18:42 +0000)
commitf93099eb1ca6579eaea865c5f67dc0935d78e719
tree1b8e2889aeff1b05903c2567bc91fbf0a8638185
parent1c7650f67cf8399b79af28ee42a45fffd5ffe77d
CodeGen: Handle va_start in the entry block

Also fix a small copy-paste bug in X86ISelLowering where Chain should
have been used in place of DAG.getEntryToken().

Fixes PR20828.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216929 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/win64_vararg.ll