]> granicus.if.org Git - clang/commit
Use custom ABIInfo for le32/PNaCl argument codegen
authorDerek Schuff <dschuff@google.com>
Thu, 6 Sep 2012 17:37:28 +0000 (17:37 +0000)
committerDerek Schuff <dschuff@google.com>
Thu, 6 Sep 2012 17:37:28 +0000 (17:37 +0000)
commit9ed63f8b87b1f7d074d21cc1210fd28d93291bea
treea71b6948ea03ea3ff3fd5f31490c436784d97146
parent2675b8ed4063ee1d2553cb4acad54d86b2d2047c
Use custom ABIInfo for le32/PNaCl argument codegen

This patch uses a new ABIInfo implementation specific to the le32
target, rather than falling back to DefaultABIInfo. Its behavior is
basically the same, but it also allows the regparm argument attribute.
It also includes basic tests for argument codegen and attributes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163333 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetInfo.cpp
test/CodeGen/le32-arguments.c [new file with mode: 0644]
test/CodeGen/le32-regparm.c [new file with mode: 0644]