aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit3e2bafd6402678a3fb752ddda820eaf5b75aaa83 (patch)
tree2438760124ef48e3b080bc140e68c1a6007e80c2 /lib/Target/Alpha/AlphaISelLowering.cpp
parent01b3d73c20f5afb8265ae943a8ba23c2238c5eea (diff)
downloadexternal_llvm-3e2bafd6402678a3fb752ddda820eaf5b75aaa83.zip
external_llvm-3e2bafd6402678a3fb752ddda820eaf5b75aaa83.tar.gz
external_llvm-3e2bafd6402678a3fb752ddda820eaf5b75aaa83.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23505 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaISelLowering.cpp')
-rw-r--r--lib/Target/Alpha/AlphaISelLowering.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Alpha/AlphaISelLowering.cpp b/lib/Target/Alpha/AlphaISelLowering.cpp
index 910166e..2e5a832 100644
--- a/lib/Target/Alpha/AlphaISelLowering.cpp
+++ b/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);