Expand frem
authorAnton Korobeynikov <asl@math.spbu.ru>
Sat, 18 Jul 2009 13:44:25 +0000 (13:44 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Sat, 18 Jul 2009 13:44:25 +0000 (13:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76315 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SystemZ/SystemZISelLowering.cpp

index d6fd6edccf4534677859b58d82c0110ec383ba87..806233ee42277e87895242c59f575d1ccb65800e 100644 (file)
@@ -137,6 +137,8 @@ SystemZTargetLowering::SystemZTargetLowering(SystemZTargetMachine &tm) :
   setOperationAction(ISD::FSIN,             MVT::f64, Expand);
   setOperationAction(ISD::FCOS,             MVT::f32, Expand);
   setOperationAction(ISD::FCOS,             MVT::f64, Expand);
+  setOperationAction(ISD::FREM,             MVT::f32, Expand);
+  setOperationAction(ISD::FREM,             MVT::f64, Expand);
 
   // We have only 64-bit bitconverts
   setOperationAction(ISD::BIT_CONVERT,      MVT::f32, Expand);