diff options
author | Chris Lattner <sabre@nondot.org> | 2011-02-24 05:10:56 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-02-24 05:10:56 +0000 |
commit | 091b1e3c74fee17e33aa87478ab07bfbba0a2f78 (patch) | |
tree | 56b70a4c22cb24916260720809d1e1425a0143a4 /lib/CodeGen/CallingConvLower.cpp | |
parent | 7558e2e4153233289bc6841f6a85fd54035f293b (diff) |
change instcombine to not turn a call to non-varargs bitcast of
function prototype into a call to a varargs prototype. We do
allow the xform if we have a definition, but otherwise we don't
want to risk that we're changing the abi in a subtle way. On
X86-64, for example, varargs require passing stuff in %al.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126363 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CallingConvLower.cpp')
0 files changed, 0 insertions, 0 deletions