diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-01-27 08:10:46 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-01-27 08:10:46 +0000 |
commit | cde9e30bc6acdb22b21e1553f3460a9ab5363e62 (patch) | |
tree | 65bc1e66103cfe4eed9bd4255f3120a9d03581a9 /llvm/lib/Target/X86/X86ISelDAGToDAG.cpp | |
parent | d98701c639f6786b39754bd0de75181c7ad2f24e (diff) | |
download | bcm5719-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.cpp | 2 |
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. |