summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-01-27 08:10:46 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-01-27 08:10:46 +0000
commitcde9e30bc6acdb22b21e1553f3460a9ab5363e62 (patch)
tree65bc1e66103cfe4eed9bd4255f3120a9d03581a9 /llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
parentd98701c639f6786b39754bd0de75181c7ad2f24e (diff)
downloadbcm5719-llvm-cde9e30bc6acdb22b21e1553f3460a9ab5363e62.tar.gz
bcm5719-llvm-cde9e30bc6acdb22b21e1553f3460a9ab5363e62.zip
x86 CPU detection and proper subtarget support
llvm-svn: 25679
Diffstat (limited to 'llvm/lib/Target/X86/X86ISelDAGToDAG.cpp')
-rw-r--r--llvm/lib/Target/X86/X86ISelDAGToDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
index ea1146b213b..43fcd71e4ac 100644
--- a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
+++ b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
@@ -161,7 +161,7 @@ void X86DAGToDAGISel::InstructionSelectBasicBlock(SelectionDAG &DAG) {
// If we are emitting FP stack code, scan the basic block to determine if this
// block defines any FP values. If so, put an FP_REG_KILL instruction before
// the terminator of the block.
- if (X86Vector < SSE2) {
+ if (!Subtarget->hasSSE2()) {
// Note that FP stack instructions *are* used in SSE code when returning
// values, but these are not live out of the basic block, so we don't need
// an FP_REG_KILL in this case either.
OpenPOWER on IntegriCloud