diff options
author | Jim Grosbach <grosbach@apple.com> | 2009-08-11 15:33:49 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2009-08-11 15:33:49 +0000 |
commit | 764ab52dd80310a205c9888bf166d09dab858f90 (patch) | |
tree | 017cab5bffc639b25c736578c70a19e817592f7d /lib/Target/ARM/ARMSubtarget.h | |
parent | f128787f941bb372e80d69b786ed144d8606a292 (diff) | |
download | external_llvm-764ab52dd80310a205c9888bf166d09dab858f90.tar.gz external_llvm-764ab52dd80310a205c9888bf166d09dab858f90.tar.bz2 external_llvm-764ab52dd80310a205c9888bf166d09dab858f90.zip |
Whitespace cleanup. Remove trailing whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78666 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMSubtarget.h')
-rw-r--r-- | lib/Target/ARM/ARMSubtarget.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/ARM/ARMSubtarget.h b/lib/Target/ARM/ARMSubtarget.h index b56b55e200..ca0a98ea78 100644 --- a/lib/Target/ARM/ARMSubtarget.h +++ b/lib/Target/ARM/ARMSubtarget.h @@ -65,7 +65,7 @@ protected: /// Selected instruction itineraries (one entry per itinerary class.) InstrItineraryData InstrItins; - + public: enum { isELF, isDarwin @@ -103,9 +103,9 @@ protected: bool hasVFP2() const { return ARMFPUType >= VFPv2; } bool hasVFP3() const { return ARMFPUType >= VFPv3; } bool hasNEON() const { return ARMFPUType >= NEON; } - bool useNEONForSinglePrecisionFP() const { + bool useNEONForSinglePrecisionFP() const { return hasNEON() && UseNEONForSinglePrecisionFP; } - + bool isTargetDarwin() const { return TargetType == isDarwin; } bool isTargetELF() const { return TargetType == isELF; } @@ -121,7 +121,7 @@ protected: const std::string & getCPUString() const { return CPUString; } - /// getInstrItins - Return the instruction itineraies based on subtarget + /// getInstrItins - Return the instruction itineraies based on subtarget /// selection. const InstrItineraryData &getInstrItineraryData() const { return InstrItins; } |