diff options
author | Nadav Rotem <nadav.rotem@intel.com> | 2011-10-16 20:31:33 +0000 |
---|---|---|
committer | Nadav Rotem <nadav.rotem@intel.com> | 2011-10-16 20:31:33 +0000 |
commit | 486ff59a9f3805339da20634d288b162eda0e82a (patch) | |
tree | 8296eda8e6fdca2ffaaac6695adf1f10c628b3a8 /llvm/lib/CodeGen | |
parent | 84baea77eabbba4bd8b3015d4973889649c6439a (diff) | |
download | bcm5719-llvm-486ff59a9f3805339da20634d288b162eda0e82a.tar.gz bcm5719-llvm-486ff59a9f3805339da20634d288b162eda0e82a.zip |
Enable element promotion type legalization by deafault.
Changed tests which assumed that vectors are legalized by widening them.
llvm-svn: 142152
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp index 907d8d9da1a..57cc398f406 100644 --- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/llvm/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, +AllowPromoteIntElem("promote-elements", cl::Hidden, cl::init(true), cl::desc("Allow promotion of integer vector element types")); namespace llvm { |