[llvm-commits] [dragonegg] r139231 - /dragonegg/trunk/src/Backend.cpp

Duncan Sands baldrick at free.fr
Wed Sep 7 04:08:31 PDT 2011


Author: baldrick
Date: Wed Sep  7 06:08:30 2011
New Revision: 139231

URL: http://llvm.org/viewvc/llvm-project?rev=139231&view=rev
Log:
Enable an experimental codegen feature that legalizes vectors
of i1 by promoting the element type.

Modified:
    dragonegg/trunk/src/Backend.cpp

Modified: dragonegg/trunk/src/Backend.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/Backend.cpp?rev=139231&r1=139230&r2=139231&view=diff
==============================================================================
--- dragonegg/trunk/src/Backend.cpp (original)
+++ dragonegg/trunk/src/Backend.cpp Wed Sep  7 06:08:30 2011
@@ -326,6 +326,8 @@
   if (flag_split_stack)
     Args.push_back("--segmented-stacks");
 #endif
+  // Enable the experimental vector type legalization by element promotion code.
+  Args.push_back("--promote-elements");
 
   // If there are options that should be passed through to the LLVM backend
   // directly from the command line, do so now.  This is mainly for debugging





More information about the llvm-commits mailing list