diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-08-09 18:35:19 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-08-09 18:35:19 +0000 |
commit | e44be6381609d31b2d8879dbd5107e01404fa475 (patch) | |
tree | 04b4b4ac60da29997f44672123c56ed6048d296a /lib/Target/ARM/ARM.td | |
parent | ad4910429c58e11dcff07453c1e566a3aec14087 (diff) | |
download | llvm-e44be6381609d31b2d8879dbd5107e01404fa475.tar.gz llvm-e44be6381609d31b2d8879dbd5107e01404fa475.tar.bz2 llvm-e44be6381609d31b2d8879dbd5107e01404fa475.tar.xz |
Change -prefer-32bit-thumb to attribute -mattr=+32bit instead to disable more 32-bit to 16-bit optimizations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110584 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARM.td')
-rw-r--r-- | lib/Target/ARM/ARM.td | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARM.td b/lib/Target/ARM/ARM.td index fa64d6c2a4..e76a47dff9 100644 --- a/lib/Target/ARM/ARM.td +++ b/lib/Target/ARM/ARM.td @@ -65,6 +65,9 @@ def FeatureNEONForFP : SubtargetFeature<"neonfp", "UseNEONForSinglePrecisionFP", "true", "Use NEON for single precision FP">; +// Disable 32-bit to 16-bit narrowing for experimentation. +def FeaturePref32BitThumb : SubtargetFeature<"32bit", "Pref32BitThumb", "true", + "Prefer 32-bit Thumb instrs">; //===----------------------------------------------------------------------===// // ARM Processors supported. |