diff options
author | Chris Lattner <sabre@nondot.org> | 2005-09-28 22:29:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-09-28 22:29:17 +0000 |
commit | 0815dcae3f06c09d4f0a32f5c94c09e4d1537fdf (patch) | |
tree | 98db6de67111eecdb27cc7404e376011073a5ead /llvm/lib/Target/Alpha/AlphaISelLowering.cpp | |
parent | 6f3b577ee6a20f5f32ded776fe516b678853fdee (diff) | |
download | bcm5719-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.cpp | 4 |
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); |