summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/InstSelectPattern.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-12-28 09:47:19 +0000
committerChris Lattner <sabre@nondot.org>2003-12-28 09:47:19 +0000
commitc45a033b42c458762ddff6313a1f5657108a7bf9 (patch)
treef3284d1d69d4eae08b4415b548985766e2bd67b5 /llvm/lib/Target/X86/InstSelectPattern.cpp
parentdfc5631bfd74da3afd665fb80c732eb895e0843a (diff)
downloadbcm5719-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.cpp8
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
OpenPOWER on IntegriCloud