[llvm] 80af39e - Fix go bindings after FixedVectorType -> VectorType change.

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Fri May 15 16:38:30 PDT 2020


Author: Eric Christopher
Date: 2020-05-15T16:37:57-07:00
New Revision: 80af39ead81e621f1938c5266e9a0bd9e36b1b3c

URL: https://github.com/llvm/llvm-project/commit/80af39ead81e621f1938c5266e9a0bd9e36b1b3c
DIFF: https://github.com/llvm/llvm-project/commit/80af39ead81e621f1938c5266e9a0bd9e36b1b3c.diff

LOG: Fix go bindings after FixedVectorType -> VectorType change.

Added: 
    

Modified: 
    llvm/bindings/go/llvm/ir.go
    llvm/bindings/go/llvm/string.go

Removed: 
    


################################################################################
diff  --git a/llvm/bindings/go/llvm/ir.go b/llvm/bindings/go/llvm/ir.go
index 4c350ac66f67..bb8896e25d36 100644
--- a/llvm/bindings/go/llvm/ir.go
+++ b/llvm/bindings/go/llvm/ir.go
@@ -238,7 +238,7 @@ const (
 	PointerTypeKind        TypeKind = C.LLVMPointerTypeKind
 	MetadataTypeKind       TypeKind = C.LLVMMetadataTypeKind
 	TokenTypeKind          TypeKind = C.LLVMTokenTypeKind
-	FixedVectorTypeKind    TypeKind = C.LLVMFixedVectorTypeKind
+	VectorTypeKind    	   TypeKind = C.LLVMVectorTypeKind
 	ScalableVectorTypeKind TypeKind = C.LLVMScalableVectorTypeKind
 )
 

diff  --git a/llvm/bindings/go/llvm/string.go b/llvm/bindings/go/llvm/string.go
index 5bd894ea6cac..7c8bf8da5b36 100644
--- a/llvm/bindings/go/llvm/string.go
+++ b/llvm/bindings/go/llvm/string.go
@@ -42,8 +42,8 @@ func (t TypeKind) String() string {
 		return "PointerTypeKind"
 	case MetadataTypeKind:
 		return "MetadataTypeKind"
-	case FixedVectorTypeKind:
-		return "FixedVectorTypeKind"
+	case VectorTypeKind:
+		return "VectorTypeKind"
 	case ScalableVectorTypeKind:
 		return "ScalableVectorTypeKind"
 	}


        


More information about the llvm-commits mailing list