Compile varargs functions for SPARCv9.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 20 Apr 2013 22:49:16 +0000 (22:49 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 20 Apr 2013 22:49:16 +0000 (22:49 +0000)
commitda8768b2dd31e99679fa898bbce33d6a8bbf9395
tree8e48465de93ac0091b93b289a490db104d6132af
parent4f38e16b89895b795ece58742195d0d95cbd4187
Compile varargs functions for SPARCv9.

With a little help from the frontend, it looks like the standard va_*
intrinsics can do the job.

Also clean up an old bitcast hack in LowerVAARG that dealt with
unaligned double loads. Load SDNodes can specify an alignment now.

Still missing: Calling varargs functions with float arguments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179961 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Sparc/SparcISelLowering.cpp
test/CodeGen/SPARC/varargs.ll [new file with mode: 0644]