diff options
author | Chris Lattner <sabre@nondot.org> | 2003-12-28 09:47:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-12-28 09:47:19 +0000 |
commit | c45a033b42c458762ddff6313a1f5657108a7bf9 (patch) | |
tree | f3284d1d69d4eae08b4415b548985766e2bd67b5 /llvm/lib/Target/X86/InstSelectPattern.cpp | |
parent | dfc5631bfd74da3afd665fb80c732eb895e0843a (diff) | |
download | bcm5719-llvm-c45a033b42c458762ddff6313a1f5657108a7bf9.tar.gz bcm5719-llvm-c45a033b42c458762ddff6313a1f5657108a7bf9.zip |
implement support for the intrinsic lowering functionality
llvm-svn: 10629
Diffstat (limited to 'llvm/lib/Target/X86/InstSelectPattern.cpp')
-rw-r--r-- | llvm/lib/Target/X86/InstSelectPattern.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/llvm/lib/Target/X86/InstSelectPattern.cpp b/llvm/lib/Target/X86/InstSelectPattern.cpp index e5182945646..a09d104d418 100644 --- a/llvm/lib/Target/X86/InstSelectPattern.cpp +++ b/llvm/lib/Target/X86/InstSelectPattern.cpp @@ -27,8 +27,7 @@ // Include the generated instruction selector... #include "X86GenInstrSelector.inc" - -namespace llvm { +using namespace llvm; namespace { struct ISel : public FunctionPass, SelectionDAGTargetBuilder { @@ -120,8 +119,7 @@ void ISel::expandCall(SelectionDAG &SD, CallInst &CI) { /// into a machine code representation using pattern matching and a machine /// description file. /// -FunctionPass *createX86PatternInstructionSelector(TargetMachine &TM) { +FunctionPass *llvm::createX86PatternInstructionSelector(TargetMachine &TM, + IntrinsicLowering &IL) { return new ISel(TM); } - -} // End llvm namespace |