diff options
author | Zack Rusin <zack@tungstengraphics.com> | 2008-01-25 06:36:35 -0500 |
---|---|---|
committer | Zack Rusin <zack@tungstengraphics.com> | 2008-02-10 23:07:17 -0500 |
commit | f625c6d1d07e3b285cf966a888aa534f33c36710 (patch) | |
tree | 52fd217f0ab9050843a693cb703914a88c6e3de9 /src/mesa/pipe/llvm/gallivm.cpp | |
parent | 479b5e9b5d9e0e387332c6fbeaffffa7612a0c52 (diff) |
add a stub of a lowering pass
Diffstat (limited to 'src/mesa/pipe/llvm/gallivm.cpp')
-rw-r--r-- | src/mesa/pipe/llvm/gallivm.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/llvm/gallivm.cpp b/src/mesa/pipe/llvm/gallivm.cpp index afa1446890..46e11c185a 100644 --- a/src/mesa/pipe/llvm/gallivm.cpp +++ b/src/mesa/pipe/llvm/gallivm.cpp @@ -34,6 +34,7 @@ #include "gallivm.h" #include "instructions.h" +#include "loweringpass.h" #include "storage.h" #include "pipe/p_context.h" @@ -95,6 +96,7 @@ using namespace llvm; static int GLOBAL_ID = 0; static inline void AddStandardCompilePasses(PassManager &PM) { + PM.add(new LoweringPass()); PM.add(createVerifierPass()); // Verify that input is correct PM.add(createLowerSetJmpPass()); // Lower llvm.setjmp/.longjmp |