]> granicus.if.org Git - clang/commit
Add TargetInfo for 32-bit and 64-bit RenderScript
authorPirama Arumuga Nainar <pirama@google.com>
Sat, 2 Jul 2016 00:05:42 +0000 (00:05 +0000)
committerPirama Arumuga Nainar <pirama@google.com>
Sat, 2 Jul 2016 00:05:42 +0000 (00:05 +0000)
commit23d3e8fcdc027a573febb584b81512f33e10954f
treee0666e7d4d23b8df083aab9cdbf291876f85755b
parent425312c448220a600bbb5186094f363d90c8b85a
Add TargetInfo for 32-bit and 64-bit RenderScript

Summary:
The TargetInfo for 'renderscript32' and 'renderscript64' ArchTypes are
subclasses of ARMleTargetInfo and AArch64leTargetInfo respectively.

RenderScript32TargetInfo modifies the ARM ABI to set LongWidth and
LongAlign to be 64-bits.  Other than this modification, the underlying
TargetInfo base classes is initialized as if they have "armv7" and
"aarch64" architecture type respectively.

Reviewers: rsmith, echristo

Subscribers: aemerson, tberghammer, cfe-commits, danalbert, mehdi_amini, srhines

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274409 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
test/CodeGen/renderscript.c [new file with mode: 0644]