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 | 4482715f3d1c165be82bd5aed07231f956e472ef (patch) | |
tree | d8e9be552211f43e35a9187fc1b0ef42b877312f /lib/Target/X86/InstSelectPattern.cpp | |
parent | 37b1826aab4614da2196d1b32d7a97cb9fcb3a21 (diff) |
implement support for the intrinsic lowering functionality
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10629 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/InstSelectPattern.cpp')
-rw-r--r-- | lib/Target/X86/InstSelectPattern.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/Target/X86/InstSelectPattern.cpp b/lib/Target/X86/InstSelectPattern.cpp index e518294564..a09d104d41 100644 --- a/lib/Target/X86/InstSelectPattern.cpp +++ b/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 |