Skip to content

Commit ba02fef

Browse files
committed
Remove a duplicate instance of extract element
1 parent d28f438 commit ba02fef

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

Sources/LLVM/IRBuilder.swift

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,18 +1275,6 @@ public class IRBuilder {
12751275
return LLVMBuildStructGEP(llvm, ptr.asLLVM(), UInt32(index), name)
12761276
}
12771277

1278-
/// Builds an ExtractElement instruction to retrieve an indexed value from a
1279-
/// vector value.
1280-
///
1281-
/// - parameter vec: The vector you're indexing into.
1282-
/// - parameter index: The index at which to extract.
1283-
///
1284-
/// - returns: The value in the vector at the provided index.
1285-
public func buildExtractElement(_ vec: IRValue, index: IRValue,
1286-
name: String = "") -> IRValue {
1287-
return LLVMBuildExtractElement(llvm, vec.asLLVM(), index.asLLVM(), name)
1288-
}
1289-
12901278
/// Builds an ExtractValue instruction to retrieve an indexed value from a
12911279
/// struct or array value.
12921280
///

0 commit comments

Comments
 (0)