diff options
author | Timothy Arceri <[email protected]> | 2018-02-01 13:52:55 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-02-01 13:56:34 +1100 |
commit | 4d982ae2c78e2108ecc289010faeb2fd03171c2e (patch) | |
tree | fe789066e03ad721334cbb425eb068361c79cc06 /src/gallium/state_trackers | |
parent | 0491d5425f16dfd4f8834e0a17b1e90e54b004cf (diff) |
gallium/st/clover: remove unused PIPE_SHADER_IR_LLVM
This has been unused since 100796c15c3a.
Acked-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/clover/llvm/codegen.hpp | 4 | ||||
-rw-r--r-- | src/gallium/state_trackers/clover/llvm/codegen/bitcode.cpp | 6 | ||||
-rw-r--r-- | src/gallium/state_trackers/clover/llvm/invocation.cpp | 3 |
3 files changed, 0 insertions, 13 deletions
diff --git a/src/gallium/state_trackers/clover/llvm/codegen.hpp b/src/gallium/state_trackers/clover/llvm/codegen.hpp index 25f6e01beb5..e35627c4729 100644 --- a/src/gallium/state_trackers/clover/llvm/codegen.hpp +++ b/src/gallium/state_trackers/clover/llvm/codegen.hpp @@ -38,10 +38,6 @@ namespace clover { namespace llvm { - module - build_module_bitcode(const ::llvm::Module &mod, - const clang::CompilerInstance &c); - std::string print_module_bitcode(const ::llvm::Module &mod); diff --git a/src/gallium/state_trackers/clover/llvm/codegen/bitcode.cpp b/src/gallium/state_trackers/clover/llvm/codegen/bitcode.cpp index 6737f7af0aa..679ecd87580 100644 --- a/src/gallium/state_trackers/clover/llvm/codegen/bitcode.cpp +++ b/src/gallium/state_trackers/clover/llvm/codegen/bitcode.cpp @@ -71,12 +71,6 @@ namespace { } } -module -clover::llvm::build_module_bitcode(const ::llvm::Module &mod, - const clang::CompilerInstance &c) { - return build_module_common(mod, emit_code(mod), get_symbol_offsets(mod), c); -} - std::string clover::llvm::print_module_bitcode(const ::llvm::Module &mod) { std::string s; diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp index a373df4eac6..e4ca5fa4442 100644 --- a/src/gallium/state_trackers/clover/llvm/invocation.cpp +++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp @@ -291,9 +291,6 @@ clover::llvm::link_program(const std::vector<module> &modules, if (create_library) { return build_module_library(*mod, module::section::text_library); - } else if (ir == PIPE_SHADER_IR_LLVM) { - return build_module_bitcode(*mod, *c); - } else if (ir == PIPE_SHADER_IR_NATIVE) { if (has_flag(debug::native)) debug::log(id + ".asm", print_module_native(*mod, target)); |