diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2008-02-15 11:18:04 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2008-02-15 11:18:04 +0000 |
commit | 30d0bacf7aecfb6013ddd665d7385209899eeebd (patch) | |
tree | ce764e101617349add47e4250aed1adde8b6407e /src/gallium/auxiliary/llvm/loweringpass.cpp | |
parent | 6ac2c1cc0cd1253ba2014d459010032127f185ec (diff) | |
parent | 66f22aa3bf7fa546e946b45156aa578e202982c9 (diff) |
Merge commit 'origin/gallium-0.1' into gallium-0.1
Diffstat (limited to 'src/gallium/auxiliary/llvm/loweringpass.cpp')
-rw-r--r-- | src/gallium/auxiliary/llvm/loweringpass.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/llvm/loweringpass.cpp b/src/gallium/auxiliary/llvm/loweringpass.cpp new file mode 100644 index 0000000000..556dbec366 --- /dev/null +++ b/src/gallium/auxiliary/llvm/loweringpass.cpp @@ -0,0 +1,17 @@ +#include "loweringpass.h" + +using namespace llvm; + +char LoweringPass::ID = 0; +RegisterPass<LoweringPass> X("lowering", "Lowering Pass"); + +LoweringPass::LoweringPass() + : ModulePass((intptr_t)&ID) +{ +} + +bool LoweringPass::runOnModule(Module &m) +{ + llvm::cerr << "Hello: " << m.getModuleIdentifier() << "\n"; + return false; +} |