diff options
| author | Akira Hatanaka <ahatanaka@mips.com> | 2012-08-16 03:48:05 +0000 |
|---|---|---|
| committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-08-16 03:48:05 +0000 |
| commit | 89d50b395706d38862471b869300472eed4c6d3d (patch) | |
| tree | 98d03119e9bb3d613c90ad0f66cd54fce09db70f /llvm/lib/Target/Mips/MipsSubtarget.h | |
| parent | 52f04a2e8f4b88b1b9f69e22d4962998dd71f90b (diff) | |
| download | bcm5719-llvm-89d50b395706d38862471b869300472eed4c6d3d.tar.gz bcm5719-llvm-89d50b395706d38862471b869300472eed4c6d3d.zip | |
Add Android ABI to Mips backend to handle functions returning vectors of four
floats.
llvm-svn: 162008
Diffstat (limited to 'llvm/lib/Target/Mips/MipsSubtarget.h')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsSubtarget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/MipsSubtarget.h b/llvm/lib/Target/Mips/MipsSubtarget.h index 3215c44be0e..ba15362f07b 100644 --- a/llvm/lib/Target/Mips/MipsSubtarget.h +++ b/llvm/lib/Target/Mips/MipsSubtarget.h @@ -89,6 +89,9 @@ protected: // InMips16 -- can process Mips16 instructions bool InMips16Mode; + // IsAndroid -- target is android + bool IsAndroid; + InstrItineraryData InstrItins; public: @@ -128,6 +131,7 @@ public: bool isNotSingleFloat() const { return !IsSingleFloat; } bool hasVFPU() const { return HasVFPU; } bool inMips16Mode() const { return InMips16Mode; } + bool isAndroid() const { return IsAndroid; } bool isLinux() const { return IsLinux; } bool hasStandardEncoding() const { return !inMips16Mode(); } |

