diff options
author | Owen Anderson <resistor@mac.com> | 2011-12-08 20:51:38 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2011-12-08 20:51:38 +0000 |
commit | 57a7f41d5dc25555415a1fbb4aa82fac0f84e453 (patch) | |
tree | da936dea68749662d7d73e7ce06a9017417ea5e6 /llvm/lib | |
parent | 66c9ad7642f5c670abe2966e3a1f96875ef66b7d (diff) | |
download | bcm5719-llvm-57a7f41d5dc25555415a1fbb4aa82fac0f84e453.tar.gz bcm5719-llvm-57a7f41d5dc25555415a1fbb4aa82fac0f84e453.zip |
Don't explicitly marked libm rounding ops as legal on SSE4.1/AVX. There don't seem to be patterns for these, so I don't know why they were marked legal in the first place.
Fixes failures caused by r146171.
llvm-svn: 146180
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/X86/X86ISelLowering.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index cdc1f21743d..dc1aa42b952 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/lib/Target/X86/X86ISelLowering.cpp @@ -914,17 +914,6 @@ X86TargetLowering::X86TargetLowering(X86TargetMachine &TM) } if (Subtarget->hasSSE41orAVX()) { - setOperationAction(ISD::FFLOOR, MVT::f32, Legal); - setOperationAction(ISD::FCEIL, MVT::f32, Legal); - setOperationAction(ISD::FTRUNC, MVT::f32, Legal); - setOperationAction(ISD::FRINT, MVT::f32, Legal); - setOperationAction(ISD::FNEARBYINT, MVT::f32, Legal); - setOperationAction(ISD::FFLOOR, MVT::f64, Legal); - setOperationAction(ISD::FCEIL, MVT::f64, Legal); - setOperationAction(ISD::FTRUNC, MVT::f64, Legal); - setOperationAction(ISD::FRINT, MVT::f64, Legal); - setOperationAction(ISD::FNEARBYINT, MVT::f64, Legal); - // FIXME: Do we need to handle scalar-to-vector here? setOperationAction(ISD::MUL, MVT::v4i32, Legal); |