diff options
author | Zack Rusin <[email protected]> | 2008-02-13 00:36:31 -0500 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2008-02-13 00:36:31 -0500 |
commit | 53c2963b84f7a8538d2a2c67e3fbb8a22f644c57 (patch) | |
tree | f89d3eb5a16837b077d1cec3abc76aedeeed594e /src/mesa/pipe/llvm/instructionssoa.cpp | |
parent | 9b6532f01b2e8a3ccc44d67d20a8f94f5de570e3 (diff) |
fix fetching input elements and generate a ret on end
Diffstat (limited to 'src/mesa/pipe/llvm/instructionssoa.cpp')
-rw-r--r-- | src/mesa/pipe/llvm/instructionssoa.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/llvm/instructionssoa.cpp b/src/mesa/pipe/llvm/instructionssoa.cpp index 9ac4d8fbc73..0e501ab08d0 100644 --- a/src/mesa/pipe/llvm/instructionssoa.cpp +++ b/src/mesa/pipe/llvm/instructionssoa.cpp @@ -2,6 +2,7 @@ InstructionsSoa::InstructionsSoa(llvm::Module *mod, llvm::Function *func, llvm::BasicBlock *block, StorageSoa *storage) + : m_builder(block) { } @@ -23,4 +24,5 @@ std::vector<llvm::Value*> InstructionsSoa::mul(const std::vector<llvm::Value*> i void InstructionsSoa::end() { + m_builder.CreateRetVoid(); } |