summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86FastISel.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-08-22 00:20:26 +0000
committerDan Gohman <gohman@apple.com>2008-08-22 00:20:26 +0000
commit49e19e906fd445f8dcc90b6b6d620ade9dc2f7dd (patch)
tree725434ab26c4c50a99aa02df7f3859f097f651cd /llvm/lib/Target/X86/X86FastISel.cpp
parent24c0154b7719810de52bdc21555efcd708e08b0b (diff)
downloadbcm5719-llvm-49e19e906fd445f8dcc90b6b6d620ade9dc2f7dd.tar.gz
bcm5719-llvm-49e19e906fd445f8dcc90b6b6d620ade9dc2f7dd.zip
Factor out the predicate check code from DAGISelEmitter.cpp
and use it in FastISelEmitter.cpp, and make FastISel subtarget aware. Among other things, this lets it work properly on x86 targets that don't have SSE, where it successfully selects x87 instructions. llvm-svn: 55156
Diffstat (limited to 'llvm/lib/Target/X86/X86FastISel.cpp')
-rw-r--r--llvm/lib/Target/X86/X86FastISel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86FastISel.cpp b/llvm/lib/Target/X86/X86FastISel.cpp
index 0c0660c7832..f049a4d363d 100644
--- a/llvm/lib/Target/X86/X86FastISel.cpp
+++ b/llvm/lib/Target/X86/X86FastISel.cpp
@@ -17,4 +17,5 @@
#include "X86RegisterInfo.h"
#include "X86ISelLowering.h"
#include "X86FastISel.h"
+#include "X86TargetMachine.h"
#include "X86GenFastISel.inc"
OpenPOWER on IntegriCloud