Mesa (master): gallivm: Remove lp_build_load_volatile.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Sun Apr 3 08:51:57 UTC 2016


Module: Mesa
Branch: master
Commit: 11c4e5b45c246b638b5d98822ff512d1bb09c4fd
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=11c4e5b45c246b638b5d98822ff512d1bb09c4fd

Author: Jose Fonseca <jfonseca at vmware.com>
Date:   Sat Apr  2 14:33:33 2016 +0100

gallivm: Remove lp_build_load_volatile.

No longer needed.

Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Roland Scheidegger <sroland at vmware.com>

---

 src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 8 --------
 src/gallium/auxiliary/gallivm/lp_bld_misc.h   | 4 ----
 2 files changed, 12 deletions(-)

diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
index 61a50fa..c1e262b 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
@@ -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
 
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.h b/src/gallium/auxiliary/gallivm/lp_bld_misc.h
index 30b7b16..d038e3b 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.h
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.h
@@ -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,




More information about the mesa-commit mailing list