gallivm: Remove lp_build_load_volatile.
authorJose Fonseca <jfonseca@vmware.com>
Sat, 2 Apr 2016 13:33:33 +0000 (14:33 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Sun, 3 Apr 2016 08:51:27 +0000 (09:51 +0100)
No longer needed.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
src/gallium/auxiliary/gallivm/lp_bld_misc.h

index 61a50fa3b2e95f6dde8f36ca6e80fed24c837773..c1e262bc1edf6c1a7ab4838ba303f5c41f7cea95 100644 (file)
@@ -178,14 +178,6 @@ gallivm_dispose_target_library_info(LLVMTargetLibraryInfoRef library_info)
    *>(library_info);
 }
 
-extern "C"
-LLVMValueRef
-lp_build_load_volatile(LLVMBuilderRef B, LLVMValueRef PointerVal,
-                       const char *Name)
-{
-   return llvm::wrap(llvm::unwrap(B)->CreateLoad(llvm::unwrap(PointerVal), true, Name));
-}
-
 
 #if HAVE_LLVM < 0x0304
 
index 30b7b1674af97a1bbfa4dc4bb1aeefa6e608b65d..d038e3bee009310c06f9e8d8f69e152b3965d743 100644 (file)
@@ -55,10 +55,6 @@ extern void
 lp_set_target_options(void);
 
 
-extern LLVMValueRef
-lp_build_load_volatile(LLVMBuilderRef B, LLVMValueRef PointerVal,
-                       const char *Name);
-
 extern int
 lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT,
                                         struct lp_generated_code **OutCode,