aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLogan Chien <loganchien@google.com>2011-11-15 16:02:00 +0800
committerLogan Chien <loganchien@google.com>2011-11-15 16:02:00 +0800
commit2151acf5fb0137bacdaa0efcb1a03905c99772e6 (patch)
treecce8a95900edf482fc4ca959469489dff5868b9f
parent36abbec01815964352d4f3d391c0a03896c0095a (diff)
downloadexternal_llvm-2151acf5fb0137bacdaa0efcb1a03905c99772e6.zip
external_llvm-2151acf5fb0137bacdaa0efcb1a03905c99772e6.tar.gz
external_llvm-2151acf5fb0137bacdaa0efcb1a03905c99772e6.tar.bz2
Enable promote elements since the upstream has fixed it.
Change-Id: I7e4068c124ac330d021b52b877926ae719c7cb37
-rw-r--r--lib/CodeGen/SelectionDAG/TargetLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index a832222..d7bad43 100644
--- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -36,7 +36,7 @@ using namespace llvm;
/// - the promotion of vector elements. This feature is disabled by default
/// and only enabled using this flag.
static cl::opt<bool>
-AllowPromoteIntElem("promote-elements", cl::Hidden, cl::init(false),
+AllowPromoteIntElem("promote-elements", cl::Hidden, cl::init(true),
cl::desc("Allow promotion of integer vector element types"));
namespace llvm {