From 8b185398901369a6dc8e3c6ae51cf1f57eefd429 Mon Sep 17 00:00:00 2001 From: Twan Koolen Date: Fri, 20 Jul 2018 15:40:29 -0400 Subject: [PATCH] Just use Base.llvmcall again now that https://github.com/JuliaLang/julia/pull/28172 is fixed. --- src/FunctionWrappers.jl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/FunctionWrappers.jl b/src/FunctionWrappers.jl index f8b2334..7ea9f6e 100644 --- a/src/FunctionWrappers.jl +++ b/src/FunctionWrappers.jl @@ -4,11 +4,9 @@ __precompile__(true) module FunctionWrappers -using Base: llvmcall - # Used to bypass NULL check @inline function assume(v::Bool) - llvmcall(("declare void @llvm.assume(i1)", + Base.llvmcall(("declare void @llvm.assume(i1)", """ %v = trunc i8 %0 to i1 call void @llvm.assume(i1 %v)