[llvm-commits] [llvm] r117746 - in /llvm/trunk/include/llvm: InlineAsm.h Target/TargetLowering.h

John Thompson John.Thompson.JTSoftware at gmail.com
Fri Oct 29 16:37:38 PDT 2010


Author: jtsoftware
Date: Fri Oct 29 18:37:38 2010
New Revision: 117746

URL: http://llvm.org/viewvc/llvm-project?rev=117746&view=rev
Log:
Mult-alt constraint incremental development step 3.

Modified:
    llvm/trunk/include/llvm/InlineAsm.h
    llvm/trunk/include/llvm/Target/TargetLowering.h

Modified: llvm/trunk/include/llvm/InlineAsm.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/InlineAsm.h?rev=117746&r1=117745&r2=117746&view=diff
==============================================================================
--- llvm/trunk/include/llvm/InlineAsm.h (original)
+++ llvm/trunk/include/llvm/InlineAsm.h Fri Oct 29 18:37:38 2010
@@ -16,8 +16,8 @@
 #ifndef LLVM_INLINEASM_H
 #define LLVM_INLINEASM_H
 
-#include "llvm/ADT/SmallVector.h"
 #include "llvm/Value.h"
+#include <vector>
 
 namespace llvm {
 
@@ -87,7 +87,7 @@
     isClobber           // '~x'
   };
   
-  typedef SmallVector<std::string,8> ConstraintCodeVector;
+  typedef std::vector<std::string> ConstraintCodeVector;
   
   struct SubConstraintInfo {
     /// MatchingInput - If this is not -1, this is an output constraint where an
@@ -102,9 +102,9 @@
     SubConstraintInfo() : MatchingInput(-1) {}
   };
 
-  typedef SmallVector<SubConstraintInfo,4> SubConstraintInfoVector;
+  typedef std::vector<SubConstraintInfo> SubConstraintInfoVector;
   struct ConstraintInfo;
-  typedef SmallVector<ConstraintInfo,16> ConstraintInfoVector;
+  typedef std::vector<ConstraintInfo> ConstraintInfoVector;
   
   struct ConstraintInfo {
     /// Type - The basic type of the constraint: input/output/clobber

Modified: llvm/trunk/include/llvm/Target/TargetLowering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetLowering.h?rev=117746&r1=117745&r2=117746&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetLowering.h (original)
+++ llvm/trunk/include/llvm/Target/TargetLowering.h Fri Oct 29 18:37:38 2010
@@ -1381,7 +1381,7 @@
     }
   };
   
-  typedef SmallVector<AsmOperandInfo,16> AsmOperandInfoVector;
+  typedef std::vector<AsmOperandInfo> AsmOperandInfoVector;
   
   /// ParseConstraints - Split up the constraint string from the inline
   /// assembly value into the specific constraints and their prefixes,





More information about the llvm-commits mailing list