]> granicus.if.org Git - clang/commit
[mips] Promote all integral/enumeration types to the GPR width
authorDaniel Sanders <daniel.sanders@imgtec.com>
Fri, 24 Oct 2014 14:42:42 +0000 (14:42 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Fri, 24 Oct 2014 14:42:42 +0000 (14:42 +0000)
commit8e80dfd7885956e0a1cc3bf32d7dc5f490fe4b3c
treea3f81b29da9c29b2db8208083cd8986e251589d3
parentf0422ced5f73d4a3b53b84d7935fb8186d2ce661
[mips] Promote all integral/enumeration types to the GPR width

Summary:
Ensure all integral/enumeration types are appropriately annotated with
signext/zeroext. In particular, i32 now has these attributes when using the
N32/N64 ABI. This paves the way for accurately representing the way the
N32/N64 ABI's promotes integer arguments to i64.

Reviewers: atanasyan

Reviewed By: atanasyan

Subscribers: cfe-commits, theraven

Differential Revision: http://reviews.llvm.org/D5961

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220563 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetInfo.cpp
test/CodeGen/atomics-inlining.c
test/CodeGen/mips-vector-arg.c
test/CodeGen/mips64-padding-arg.c
test/CodeGenCXX/mips-size_t-ptrdiff_t.cpp