[llvm-commits] [vector_llvm] CVS: llvm/include/VectorLLVM/VectorSignificantFunctions.h

Robert L. Bocchino Jr. bocchino at persephone.cs.uiuc.edu
Tue Nov 15 12:16:03 PST 2005



Changes in directory llvm/include/VectorLLVM:

VectorSignificantFunctions.h updated: 1.1.2.1 -> 1.1.2.2
---
Log message:

Updated the signature for extract


---
Diffs of the changes:  (+2 -2)

 VectorSignificantFunctions.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/include/VectorLLVM/VectorSignificantFunctions.h
diff -u llvm/include/VectorLLVM/VectorSignificantFunctions.h:1.1.2.1 llvm/include/VectorLLVM/VectorSignificantFunctions.h:1.1.2.2
--- llvm/include/VectorLLVM/VectorSignificantFunctions.h:1.1.2.1	Tue Oct 18 14:35:24 2005
+++ llvm/include/VectorLLVM/VectorSignificantFunctions.h	Tue Nov 15 14:14:14 2005
@@ -189,13 +189,13 @@
       break;
     case extract:
       // An extract function must have precisely 4 arguments: a value
-      // and 3 unsigned ints
+      // an unsigned int, and int, and an unsigned int
       //
       if (numParams != 4 || isVarArg)
 	return false;
       if (FTy->getParamType(1) != Type::UIntTy)
 	return false;
-      if (FTy->getParamType(2) != Type::UIntTy)
+      if (!FTy->getParamType(2)->isIntegral())
 	return false;
       if (FTy->getParamType(3) != Type::UIntTy)
 	return false;






More information about the llvm-commits mailing list