diff options
Diffstat (limited to 'backend/src/llvm/llvm_gen_backend.hpp')
-rw-r--r-- | backend/src/llvm/llvm_gen_backend.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/src/llvm/llvm_gen_backend.hpp b/backend/src/llvm/llvm_gen_backend.hpp index 56dd27f3..26323a3e 100644 --- a/backend/src/llvm/llvm_gen_backend.hpp +++ b/backend/src/llvm/llvm_gen_backend.hpp @@ -84,6 +84,9 @@ namespace gbe /*! Remove the GEP instructions */ llvm::BasicBlockPass *createRemoveGEPPass(const ir::Unit &unit); + /*! Merge load/store if possible */ + llvm::BasicBlockPass *createLoadStoreOptimizationPass(); + /*! Scalarize all vector op instructions */ llvm::FunctionPass* createScalarizePass(); /*! Remove/add NoDuplicate function attribute for barrier functions. */ |