aboutsummaryrefslogtreecommitdiff
path: root/src/zig_llvm.cpp
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2023-07-17 11:38:46 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2023-07-19 23:38:40 -0400
commit9afb349abaeaf6470329ea8990eb06eb37dd79e1 (patch)
tree859eac097aa0ececa5f074c1eff21d3955be543c /src/zig_llvm.cpp
parentef84e869925d8a95e8e57895c421f398903b5f4f (diff)
downloadzig-9afb349abaeaf6470329ea8990eb06eb37dd79e1.tar.gz
zig-9afb349abaeaf6470329ea8990eb06eb37dd79e1.zip
llvm: convert most instructions
Diffstat (limited to 'src/zig_llvm.cpp')
-rw-r--r--src/zig_llvm.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/zig_llvm.cpp b/src/zig_llvm.cpp
index b04356bf4d..26ea04aca6 100644
--- a/src/zig_llvm.cpp
+++ b/src/zig_llvm.cpp
@@ -560,10 +560,6 @@ LLVMValueRef ZigLLVMBuildUShlSat(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRe
return wrap(call_inst);
}
-LLVMValueRef LLVMBuildVectorSplat(LLVMBuilderRef B, unsigned elem_count, LLVMValueRef V, const char *Name) {
- return wrap(unwrap(B)->CreateVectorSplat(elem_count, unwrap(V), Name));
-}
-
void ZigLLVMFnSetSubprogram(LLVMValueRef fn, ZigLLVMDISubprogram *subprogram) {
assert( isa<Function>(unwrap(fn)) );
Function *unwrapped_function = reinterpret_cast<Function*>(unwrap(fn));