aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-11-15 23:53:18 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-11-15 23:53:18 +0000
commit3805d85e38c29d9106c758b63851eb847201f315 (patch)
treeff4226a99a2cea5b6c44e0554ce618685ab747cd /lib
parent8368f74c434db60c36a4044dfe80d4abee49ce27 (diff)
downloadexternal_llvm-3805d85e38c29d9106c758b63851eb847201f315.zip
external_llvm-3805d85e38c29d9106c758b63851eb847201f315.tar.gz
external_llvm-3805d85e38c29d9106c758b63851eb847201f315.tar.bz2
Enable -widen-vmovs by default.
This will widen 32-bit register vmov instructions to 64-bit when possible. The 64-bit vmovd instructions can then be translated to NEON vorr instructions by the execution dependency fix pass. The copies are only widened if they are marked as clobbering the whole D-register. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144734 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ARM/ARMBaseInstrInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMBaseInstrInfo.cpp b/lib/Target/ARM/ARMBaseInstrInfo.cpp
index 30f38b8..9315348 100644
--- a/lib/Target/ARM/ARMBaseInstrInfo.cpp
+++ b/lib/Target/ARM/ARMBaseInstrInfo.cpp
@@ -46,7 +46,7 @@ EnableARM3Addr("enable-arm-3-addr-conv", cl::Hidden,
cl::desc("Enable ARM 2-addr to 3-addr conv"));
static cl::opt<bool>
-WidenVMOVS("widen-vmovs", cl::Hidden,
+WidenVMOVS("widen-vmovs", cl::Hidden, cl::init(true),
cl::desc("Widen ARM vmovs to vmovd when possible"));
/// ARM_MLxEntry - Record information about MLA / MLS instructions.