diff options
| author | Nate Begeman <natebegeman@mac.com> | 2005-08-14 18:37:02 +0000 |
|---|---|---|
| committer | Nate Begeman <natebegeman@mac.com> | 2005-08-14 18:37:02 +0000 |
| commit | e5394d453d2209ba5ce831c39b24c666ad710e28 (patch) | |
| tree | e4f718e9db31528f09fd56431e92a50003caf453 /llvm/lib/Target | |
| parent | ed07233868f7467b40df9c03af6b6d0e96d77d0a (diff) | |
| download | bcm5719-llvm-e5394d453d2209ba5ce831c39b24c666ad710e28.tar.gz bcm5719-llvm-e5394d453d2209ba5ce831c39b24c666ad710e28.zip | |
Fix last night's X86 regressions by putting code for SSE in the if(SSE)
block. nur.
llvm-svn: 22788
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/X86/X86ISelPattern.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Target/X86/X86ISelPattern.cpp b/llvm/lib/Target/X86/X86ISelPattern.cpp index 8a5bd029547..db95e918644 100644 --- a/llvm/lib/Target/X86/X86ISelPattern.cpp +++ b/llvm/lib/Target/X86/X86ISelPattern.cpp @@ -151,11 +151,6 @@ namespace { setOperationAction(ISD::FP_TO_SINT , MVT::i8 , Promote); setOperationAction(ISD::FP_TO_SINT , MVT::i16 , Promote); - // Expand FP_TO_UINT into a select. - // FIXME: We would like to use a Custom expander here eventually to do - // the optimal thing for SSE vs. the default expansion in the legalizer. - setOperationAction(ISD::FP_TO_UINT , MVT::i32 , Expand); - setOperationAction(ISD::BRCONDTWOWAY , MVT::Other, Expand); setOperationAction(ISD::MEMMOVE , MVT::Other, Expand); setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i16 , Expand); @@ -199,6 +194,11 @@ namespace { setOperationAction(ISD::SINT_TO_FP, MVT::i16, Promote); setOperationAction(ISD::FP_TO_SINT, MVT::i16, Promote); + // Expand FP_TO_UINT into a select. + // FIXME: We would like to use a Custom expander here eventually to do + // the optimal thing for SSE vs. the default expansion in the legalizer. + setOperationAction(ISD::FP_TO_UINT , MVT::i32 , Expand); + // We don't support sin/cos/sqrt/fmod setOperationAction(ISD::FSIN , MVT::f64, Expand); setOperationAction(ISD::FCOS , MVT::f64, Expand); |

