diff options
| author | Daniel Sanders <daniel.sanders@imgtec.com> | 2014-04-24 16:05:26 +0000 |
|---|---|---|
| committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2014-04-24 16:05:26 +0000 |
| commit | 4ec7faa64f2613b0e71148036b5b48fbd11b11a7 (patch) | |
| tree | f3565c324c433ce5525e3a8d48282aff858420ff /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 4a935ca4ff60e280055897496a593e104d8b7059 (diff) | |
| download | clang-4ec7faa64f2613b0e71148036b5b48fbd11b11a7.tar.gz clang-4ec7faa64f2613b0e71148036b5b48fbd11b11a7.tar.bz2 clang-4ec7faa64f2613b0e71148036b5b48fbd11b11a7.tar.xz | |
[mips] Support 128-bit int in N32 ABI by overriding TargetInfo::hasInt128Type()
Summary: The condition in the base class is rather strange. It says a target has the 128-bit integer type if the size of a pointer is >= 64-bits. N32 has 32-bit pointers but 64-bit integers. I'm a bit reluctant to change this for all targets so this patch makes the method virtual and overrides it for MIPS64.
Reviewers: atanasyan
Reviewed By: atanasyan
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D3472
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207121 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
