summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Alpha/AlphaISelLowering.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-09-28 22:29:17 +0000
committerChris Lattner <sabre@nondot.org>2005-09-28 22:29:17 +0000
commit0815dcae3f06c09d4f0a32f5c94c09e4d1537fdf (patch)
tree98db6de67111eecdb27cc7404e376011073a5ead /llvm/lib/Target/Alpha/AlphaISelLowering.cpp
parent6f3b577ee6a20f5f32ded776fe516b678853fdee (diff)
downloadbcm5719-llvm-0815dcae3f06c09d4f0a32f5c94c09e4d1537fdf.tar.gz
bcm5719-llvm-0815dcae3f06c09d4f0a32f5c94c09e4d1537fdf.zip
Add FP versions of the binary operators, keeping the int and fp worlds seperate.
Though I have done extensive testing, it is possible that this will break things in configs I can't test. Please let me know if this causes a problem and I'll fix it ASAP. llvm-svn: 23505
Diffstat (limited to 'llvm/lib/Target/Alpha/AlphaISelLowering.cpp')
-rw-r--r--llvm/lib/Target/Alpha/AlphaISelLowering.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaISelLowering.cpp b/llvm/lib/Target/Alpha/AlphaISelLowering.cpp
index 910166ef6b6..2e5a832e0b0 100644
--- a/llvm/lib/Target/Alpha/AlphaISelLowering.cpp
+++ b/llvm/lib/Target/Alpha/AlphaISelLowering.cpp
@@ -68,8 +68,8 @@ AlphaTargetLowering::AlphaTargetLowering(TargetMachine &TM) : TargetLowering(TM)
setOperationAction(ISD::SEXTLOAD, MVT::i8, Expand);
setOperationAction(ISD::SEXTLOAD, MVT::i16, Expand);
- setOperationAction(ISD::SREM, MVT::f32, Expand);
- setOperationAction(ISD::SREM, MVT::f64, Expand);
+ setOperationAction(ISD::FREM, MVT::f32, Expand);
+ setOperationAction(ISD::FREM, MVT::f64, Expand);
setOperationAction(ISD::UINT_TO_FP, MVT::i64, Expand);
OpenPOWER on IntegriCloud